aspose file tools*
The moose likes I/O and Streams and the fly likes Multi language file I/O Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Multi language file I/O" Watch "Multi language file I/O" New topic
Author

Multi language file I/O

colapig colapig
Greenhorn

Joined: Sep 20, 2004
Posts: 1
I just get stuck with how to read and write the multi-language to a file.

Eg, In the text area, I write down the english, japanese. When i write these characters to a txt file, and open it again. All japanese characters are be '???'.

Did anyone know how to fix that? I think i might have to change the encoding set to Unicode, but no idea how to do it in Java. Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Multi language file I/O