I have array of bytes that should be converted to string. That array consists of Windows-1257 encoded text. What is the best way of converting this array to string? Later I will need to convert string to ISO-8859-13 byte array, but I know how to make this part of job.
I tried like this:
String result = new String(currentByteArray, "ISO-8859-13");
But of course got garbage in local character places.