Supercat encoding problems with MODS output (Zotero)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Fix Released
|
High
|
Unassigned | ||
2.10 |
Fix Released
|
High
|
Unassigned | ||
2.11 |
Fix Released
|
High
|
Unassigned |
Bug Description
Per http://
Zotero uses unapi to retrieve MODS3 output. When comparing MODS to MODS3, MODS32, and MODS33 output, we can see that the MODS output contains correctly encoded characters, while the MODS3, MODS32, and MODS33 output has incorrectly encoded characters.
The very simple difference between MODS and MODS3* stylesheets boils down to this:
/openils/
<xsl:output indent="yes" method="xml"/>
whereas openils/
<xsl:output indent="yes" method="xml" encoding="UTF-8"/>
My reading of XML::LibXSLT suggests that the deprecated output_string() method hints at the reason this explicit encoding output is causing the problem; http://
output_
DEPRECATED: This method is something between output_
(Aside: changing output_string() to output_as_bytes() in OpenILS:
tags: | added: i18n |
Changed in evergreen: | |
status: | Fix Committed → Fix Released |
The bug stil relevant in 2.12 (version 0master.53150bb)