Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

French character accent garbled

852802Apr 5 2011 — edited Apr 5 2011
Hi


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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 3 2011
Added on Apr 5 2011
2 comments
539 views