Answer the question
In order to leave comments, you need to log in
How to convert a Java file to another encoding?
There is an admissible file in Java hell knows in what encoding. How to convert it using Java tools to UTF-8 so that the Cyrillic alphabet is without kryakozyabr?
Answer the question
In order to leave comments, you need to log in
For example:
String res = new String( src.getBytes("ISO-8859-1"),"Cp1251");
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question