I have a situation where I read a string of settings from\na cookie. One section of this string has UTF-8 encoded\ncharacters.[QUOTE]\nFrom reading an earlier topic in this news group;[/QUOTE]\nsee "UTF-8 and Unicode, Oct 17, 2001" I discover to\nget the bytes I have to use a call like this specifying\n"8859_1":\n\nString cookieData; // populated by cookie token.\n..\n..\nbyte utf8Contents = cookieData.getBytes("8859_1");\n\n// then to get it where the applet will display it\n// I have to put it in UTF-16 by doing this.\nString userData = new String(utf8Contents, "UTF-8");\n[QUOTE]\nFrom the testing I have done so far this works on all[/QUOTE]\nthe unicode values I have tried up to 0441. I\ndon't know of any limits so far, but what bothers me\nand what I don't understand is why does "8859_1" have\nto be specified? Nothing I am doing should be specific\nto that encoding. I have tried the getBytes() without\nspecifying the encoding but it didn't seem to work\nunless I missed something. Should it have worked?