java - Windows-1250 in Eclipse Console -


i have got file in windows-1250.

i print file line line in eclipse console cannot see diacritic signs.

i trying make changes in common tab in run configuration gives no results.

i use

bufferedreader reader = new bufferedreader(new filereader(filename)); 

thank in advance

use inputstreamreader or allows specifying charset:

bufferedreader reader = new bufferedreader(new inputstreamreader(         new fileinputstream(filename), "windows-1250")); 

Comments

Popular posts from this blog

stringtemplate - StringTemplate4 if conditional with length -

shader - OpenGL Shadow Map -