Bernard, In light of Dmitry's post, try using String.getBytes(String enc) -Richard
At 05:41 PM 11/26/2001 +0100, you wrote: >Hi, > >We are faced with some encoding problems, especially ISO Latin-1 to UTF-8 >conversion problems. > >In ISO Latin-1 , it seems that LATIN SMALL LETTER E WITH ACUTE is encoded by >E9. > >Does some one know the Unicode value of LATIN SMALL LETTER E WITH ACUTE and >the >UTF-8 encoding of LATIN SMALL LETTER E WITH ACUTE ? > >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" ... > >-;(, why a such difference ? > >Bernard Granier >Mr Ted >115 rue du Fbg Poissonniere >75009 Paris >www.MrTed.com >Tel : 33 1 55 31 02 65 >mail : [EMAIL PROTECTED] > >=========================================================================== >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
