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@mosca『29』~$ echo $LANG
> en_US.UTF-8
> 0 gwolf@mosca『30』~$ export PERL_UTF8_LOCALE=1 PERL_UNICODE=AS
> 0 gwolf@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.

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 ŪŦḞ


Regards,
Salvatore

Attachment: signature.asc
Description: Digital signature

Reply via email to