Closed hvbtup closed 4 years ago
Strange... I am fully aware that the charset must be explicitly set when creating a Java String from UTF-8 encoded bytes... I wonder why I would have forgotten to do that... ?!?
Anyways, it's an easy fix, and I will get it done soon!
This has been fixed now - in version 0.5.3
v. 0.5.3 has now been released
While testing I noticed that UTF8 is not working correctly. The reader uses just the new String(byte[]) constructor without specifying the encoding.
The solution is obvious: I had to change several places in the RionReader and RionWriter code.
Just to give one example:
Just look for new String(...) calls in the code.
In the reader, look for occurences of utf8Bytes. I simplified these like this (for example, inside the writeUtf8(String value) method):