PS The second character looks like a U, but the left hand upright is forked.

On 10/01/2003 01:22 PM Stephan Wiesner wrote:
Hmh, so it seems. Can't present the result in plain text, but the results are wrong and the usage of new String(original.getBytes(), "UTF8"); leads to a different result.



Adam Hardy wrote:

Hi Stephan,
I think the attachment got stripped off by the list server.

On 10/01/2003 11:12 AM Stephan Wiesner wrote:

Hi Remke,
thanks for the link to the tool, quite useful. The header is correct in my case, though.


Here is a simple source example:
String original = new String("A'lü>&[\u05E9]");
String out1 = new String(original.getBytes(), "UTF8");

out.println("Original: " + original + "<br />UTF-8: ");
out.println(out1);

--
struts 1.1 + tomcat 5.0.12 + java 1.4.2
Linux 2.4.20 RH9


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to