After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588544 - libexslt 812: str:align left has length error with UTF-8
libexslt 812: str:align left has length error with UTF-8
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-14 13:50 UTC by am
Modified: 2014-10-04 10:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description am 2009-07-14 13:50:39 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))"/>
Comment 1 Nick Wellnhofer 2014-10-04 10:21:15 UTC
Fixed with the following commit:

https://git.gnome.org/browse/libxslt/commit/?id=ec39a33e02d3b337f3f25602659a33d4b30aa31a