lomidien
asked on
Encodings, etc
I'm searching for the method used to write and read cyrillic characters from a standard text file using BufferedReader/BufferedWri ter. I've been unable to find any useful information so far and my attempts at writing and saving in different encodings has failed so far.
Any ideas?
Any ideas?
If you're reading, you'll need to know what encoding has been used
ASKER
All the files I'll be reading will be created by myself....all in Unicode format. Man alive CEHJ, you're always fast to respond!!
String encoding = "x;
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream("x.txt"), encoding)); //
BufferedReader in = new BufferedReader(new InputStreamReader(new FileInputStream("x.txt"), encoding)); //
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect,
Thanks a bunch! Right on the money!
Thanks a bunch! Right on the money!
8-)