French character accent garbled
852802Apr 5 2011 — edited Apr 5 2011
I'm using JNI to retrieve a string from C++ code to Java.
The problem is that the string contains some extended-ASCII characters
specifically some French characters.
When the string is returned to Java an implicit conversion is performed to
convert the bytes into Unicode characters but the problem is that these
extended characters are not being mapped correctly.