View Single Post
  #4 (permalink)  
Old November 24th, 2002
Unregistered
Guest
 
Posts: n/a
Thumbs up support 2byte characters

Being thought as evasion step the character string which is converted
as the ISO-8856-1 code prepare the function which is converted to the
correct character string.
this is sample code.

public static String raw2String(String raw, String encoding)
throws UnsupportedEncodingException {

return (new String(raw.getBytes("8859_1"), encoding));
}
Reply With Quote