We have got a problem with one of our instance variable. Its contains text data and when data length over 400 characters its corrupting some characters.
Have you any suggestions?
Regards,
Beslan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
String variables with length over 255 characters are persist as byte arrays.
Encoding used for transformations between string and byte array is system default.
So you can try to change it and see result.
For example
By setting the (Windows) environment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
We have got a problem with one of our instance variable. Its contains text data and when data length over 400 characters its corrupting some characters.
Have you any suggestions?
Regards,
Beslan
Hi.
I could not reproduce problem.
String variables with length over 255 characters are persist as byte arrays.
Encoding used for transformations between string and byte array is system default.
So you can try to change it and see result.
For example
By setting the (Windows) environment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8.
Thanks for advice. I think this is the problem.