Currently I am reading .txt files with
FileInputStream is = new FileInputStream(masterPath+txt);
BufferedReader br = new BufferedReader(new InputStreamReader(is));
String readLine = null;
while ((readLine = br.readLine()) != null)
{
...
But unicode characters do not appear as they should.
Any ideas how to change the above code, for unicode to work?
Thanks!
Yes. Specify the appropriate encoding when constructing your InputStreamReader. If your file is UTF-8 encoded, use