Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #17102

Re: retriving escape unicode sequences from files ...

Path csiph.com!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From glen herrmannsfeldt <gah@ugcs.caltech.edu>
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 <jvhmgl$37g$1@speranza.aioe.org> (permalink)
References <jvfhtb$gh$1@speranza.aioe.org>
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

Show key headers only | View raw


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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

retriving escape unicode sequences from files ... qwertmonkey@syberianoutpost.ru - 2012-08-03 03:52 +0000
  Re: retriving escape unicode sequences from files ... markspace <-@.> - 2012-08-02 21:00 -0700
  Re: retriving escape unicode sequences from files ... Roedy Green <see_website@mindprod.com.invalid> - 2012-08-03 01:35 -0700
  Re: retriving escape unicode sequences from files ... glen herrmannsfeldt <gah@ugcs.caltech.edu> - 2012-08-03 23:23 +0000
  Re: retriving escape unicode sequences from files ... Arne Vajhøj <arne@vajhoej.dk> - 2012-08-03 20:37 -0400
    Re: retriving escape unicode sequences from files ... Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2012-08-03 20:49 -0700
      Re: retriving escape unicode sequences from files ... markspace <-@.> - 2012-08-03 21:13 -0700
        Re: retriving escape unicode sequences from files ... Lew <lewbloch@gmail.com> - 2012-08-03 23:45 -0700
      Re: retriving escape unicode sequences from files ... Arne Vajhøj <arne@vajhoej.dk> - 2012-08-06 22:32 -0400

csiph-web