ok thanks. I am going to look on the RFC.
Bernard Granier Mr Ted 115 rue du Fbg Poissonniere 75009 Paris www.MrTed.com Tel : 33 1 55 31 02 65 mail : [EMAIL PROTECTED] -----Original Message----- From: A mailing list about Java Server Pages specification and reference [mailto:[EMAIL PROTECTED]]On Behalf Of Dmitry Beransky Sent: lundi 26 novembre 2001 19:08 To: [EMAIL PROTECTED] Subject: Re: charset ISO-Latin-1 and Unicode UTF-8 At 08:41 AM 11/26/2001, Bernard Granier wrote: >My problem is that : >On the unicode site (www.unicode.org), it seems that unicode encoding of >LATIN SMALL LETTER E WITH ACUTE is 00E9, but if you use the method getBytes >on a String object which contains LATIN SMALL LETTER E WITH ACUTE you get >"0xc3 0xa9" ... 0xc3,0xa9 is the UTF-8 representation of 00E9 (see RFC2044). According to the docs, String.getBytes() converts "String into bytes according to the platform's default character encoding..." So my guess is the platform you're running on has UTF8 as a default encoding, and that's what you get back, not a UNICODE value. Regards Dmitry =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com
