Project

Profile

Help

Bug #4467

closed

transformToString() Encoding issue

Added by O'Neil Delpratt about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Saxon-C Internals
Start date:
2020-02-26
Due date:
% Done:

100%

Estimated time:
Found in version:
1.2.1
Fixed in version:
11.1
Platforms:

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

Related to SaxonC - Support #4638: Output xsl3 transform to UTF-16LE with BOMClosedO'Neil Delpratt2020-07-09

Actions

Please register to edit this issue

Also available in: Atom PDF