File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "Multi language file I/O" Watch "Multi language file I/O" New topic

Multi language file I/O

colapig colapig

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
I agree. Here's the link:
subject: Multi language file I/O
It's not a secret anymore!