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!

Truncated jstring

3751237Jul 27 2018 — edited Jul 27 2018

Similar to:

Truncated jstring under JRE 1.6 with NewStringUTF

I have a dll written in C++ that creates an xml formatted string and then converts it using env->NewStringUTF it all works fine until there is this symbol in the xml - '§' in hex it is c2 a7. For each occurrence of this symbol, one is truncated from the end of the jstring. I'm using jre1.8.0_windows_x86.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 24 2018
Added on Jul 27 2018
0 comments
287 views