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

Gunnar Wolf gwolf at gwolf.org
Thu Nov 4 14:08:08 UTC 2010


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.

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-openvz-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liblatex-encode-perl depends on:
ii  perl                          5.10.1-15  Larry Wall's Practical Extraction 

liblatex-encode-perl recommends no packages.

liblatex-encode-perl suggests no packages.

-- debconf-show failed





More information about the pkg-perl-maintainers mailing list