GNOME Bugzilla – Bug 588544
libexslt 812: str:align left has length error with UTF-8
Last modified: 2014-10-04 10:21:15 UTC
Using e.g. "ISO-8859-1" as input and output (<xsl:output method="text" indent="no" encoding="ISO-8859-1"/>). When using the str:align function e.g. <xsl:value-of select="str:align('déja vu', '_____________', 'left')"/> the of the string-length is wrong.calculation check with: e.g. <xsl:value-of select="concat('déja vu', substring('_____________', string-length('déja vu') + 1))"/>
Fixed with the following commit: https://git.gnome.org/browse/libxslt/commit/?id=ec39a33e02d3b337f3f25602659a33d4b30aa31a