![]() |
The Java Developers Almanac 1.4Order this book from Amazon. |
e40. Reading UTF-8 Encoded Datatry { BufferedReader in = new BufferedReader( new InputStreamReader(new FileInputStream("infilename"), "UTF8")); String str = in.readLine(); } catch (UnsupportedEncodingException e) { } catch (IOException e) { }
e42. Reading ISO Latin-1 Encoded Data e43. Writing ISO Latin-1 Encoded Data
© 2002 Addison-Wesley. |