Actions
Bug #4467
closedtransformToString() Encoding issue
Start date:
2020-02-26
Due date:
% Done:
100%
Estimated time:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
1.2.1
Fixed in version:
11.1
SaxonC Languages:
SaxonC Platforms:
SaxonC Architecture:
Description
Issue reported by Saxon/C user in the PHP extension:
transformToString() => encoding issue with ISO-8859-1 specific characters (output utf-8?).
The string from the transformation comes back in the ISO-8859-1 encoding but is being decoded as UTF in the C++ code by the JNI function GetStringUTFChars.
I also noticed that the NewStringUTF potentially can cause encoding issues too.
Related issues
Please register to edit this issue
Actions