Path: csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: glen herrmannsfeldt Newsgroups: comp.lang.java.programmer Subject: Re: retriving escape unicode sequences from files ... Date: Fri, 3 Aug 2012 23:23:01 +0000 (UTC) Organization: Aioe.org NNTP Server Lines: 16 Message-ID: References: NNTP-Posting-Host: H0vc4U5LIRkRHNPyGCs2dA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org User-Agent: tin/1.9.6-20100522 ("Lochruan") (UNIX) (Linux/2.6.32-5-amd64 (x86_64)) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.java.programmer:17102 qwertmonkey@syberianoutpost.ru wrote: > Why is it that if you save a unicode sequence in a file, say "français" > ~ > \u0066\u0072\u0061\u006e\u00e7\u0061\u0069\u0073 Note the difference between \u0066 and \uu0066. Specifically, consider the java program: class quote { public static void main(String args[]) { System.out.println(\u0022hi there\u0021\u0022); } } -- glen