You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It turns out that Cwd returns bytes (char *) that need to be decoded in the appropriate locale. The current behaviour causes issues in postprocessing when non-ASCII characters are present (see vlmantova/bookml#18). Even just running latexmlpost will show 'paginating /path/to/file.xml' with mangled characters.
(Alternatively, Pathname functions should work on bytes, not strings! Which might be the safer alternative, since detecting the filesystem encoding is not an easy task.)
Offending line, I think:
LaTeXML/lib/LaTeXML/Util/Pathname.pm
Line 232 in dfc3bc9
It turns out that Cwd returns bytes (
char *
) that need to be decoded in the appropriate locale. The current behaviour causes issues in postprocessing when non-ASCII characters are present (see vlmantova/bookml#18). Even just running latexmlpost will show 'paginating /path/to/file.xml' with mangled characters.Cc @leorolla
The text was updated successfully, but these errors were encountered: