UnsupportedEncodingException for TIS620 encoding in IE windows XP

java.io.UnsupportedEncodingException: TIS620

is thrown in windows xp while tried open applet throgh IE for code

String thaistring = new String(value.toString().getBytes("TIS620"),"ISO-8859-1");

same code runs fine when i tried to run java code in command mode.

Thai language support is installed and IE is also set up for thai language display.

Any pointers or help to this problem will be appreciated.

Thanks

[473 byte] By [sud_pata] at [2007-10-2 1:32:08]
# 1

When you say that the same code "runs fine" , what do you mean? That you don't get the exception, or that the Thai text in question is actually displayed correctly?

I ask because I don't understand your code - you create a byte array in TIS620, and then you create a new string from that byte array specifying that it is in ISO-8859-1. What does that accomplish?

one_danea at 2007-7-15 18:55:05 > top of Java-index,Desktop,I18N...