GNOME Bugzilla – Bug 536367
xsltSaveResultTo() to output buffer ignoring stylesheet encoding value
Last modified: 2021-07-05 10:59:51 UTC
You can set your own encoding handler in your xmlOutputBuffer but it means you need to parse the XSL stylesheet to determine the target encoding. Would be more convenient that when the xmlOutputBuffer has no encoding handler defined (that is a NULL pointer), xsltSaveResultTo() should create its own handler to ensure the output is in the correct encoding. Other information: I thought of reporting it as a defect but not sure if it is the way it is by design.
Actual version used: 1.1.24 (not listed)
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new ticket at https://gitlab.gnome.org/GNOME/libxslt/-/issues/ Thank you for your understanding and your help.