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

Salvatore Bonaccorso carnil at debian.org
Mon Aug 27 15:21:46 UTC 2012


Control: tags -1 + upstream

Hi Gunnar

On Thu, Nov 04, 2010 at 08:08:08AM -0600, Gunnar Wolf wrote:
> Package: liblatex-encode-perl
> Version: 0.03-1
> Severity: normal
>
> Having a completely UTF8 environment, and even explicitly setting
> Perl's environment to be fully UTF-aware, results in:
>
> 0 gwolf at mosca『29』~$ echo $LANG
> en_US.UTF-8
> 0 gwolf at mosca『30』~$ export PERL_UTF8_LOCALE=1 PERL_UNICODE=AS
> 0 gwolf at mosca『31』~$ perl -mLaTeX::Encode -e 'print LaTeX::Encode::latex_encode("Tħış ïš ffùĺł ȯff ŪŦḞ\n\n")'
> T\"A\textsection\"A\textpm\AA \~A\textasciimacron\AA\textexclamdown{} \"i\textlnot\~A\textonesuperior\"A\textordmasculine\AA \`E\textasciimacron\"i\textlnot \AA\textordfeminine\AA\textbrokenbar\'a\c{}
>
>
> Sadly, this renders this module unusable for documents written in
> basically any language other than English.

This is according to upstream fixed in just released 0.04. I will try
to reproduce with this and prepare the new version.

Regards,
Salvatore
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20120827/02fe08cb/attachment.pgp>


More information about the pkg-perl-maintainers mailing list