Bug#602398: liblatex-encode-perl: Assumes latin1 encoding - produces invalid results when using UTF input

Gunnar Wolf gwolf at gwolf.org
Tue Sep 11 23:22:56 UTC 2012


Salvatore Bonaccorso dijo [Fri, Aug 31, 2012 at 10:36:16AM +0200]:
> Hi Gunnar
> (...)
> I'm preparing now the new upstream version 0.06. It includes now a
> latex-encode wrapper script, and it seems to do it now correctly:
> 
> $ latex-encode < utf8.test 
> Tħ{\i}\c{s} {\"i}\v{s} ff{\`u}\'{l}ł ȯff \={U}Ŧ\.{F}
> $ cat utf8.test 
> Tħış ïš ffùĺł ȯff ŪŦḞ

Hi Salvatore,

Excuse me for the lateness in the reply - Yes, I can confirm this now
works correctly! But just as a note (and unsure if this would warrant
reopening the bug), for this module to work as a module (and not as a
stand-alone program), I have to "use utf8::all", otherwise it still
encodes it wrongly.

Greetings,



More information about the pkg-perl-maintainers mailing list