Path: csiph.com!usenet.pasdenom.info!gegeweb.org!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail From: David Lamb Newsgroups: comp.lang.java.programmer Subject: Re: Unicode escapes and String literals? Date: Thu, 13 Dec 2012 17:17:05 -0500 Organization: A noiseless patient Spider Lines: 8 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 13 Dec 2012 22:16:51 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="7f42270a997e580902d19031af10867c"; logging-data="27749"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18mtLkATCuKH5QEuDn6HbPW" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: Cancel-Lock: sha1:UoxWm8P1h6Vah5Pj939Di59tCmo= Xref: csiph.com comp.lang.java.programmer:20304 On 13/12/2012 5:00 PM, markspace wrote: > My point was that there's a very simple pre-compiler for Java. It > translates all \u-escapes into characters before the compiler proper > sees it. There's no difference to the Java compiler between "fed" and > "\u0066\u0065\u0064". It literally can't tell the difference. I should probably have found a different point in the thread to hang my comment, since you're perfectly correct.