Subject: | Incorrect HTML entities when mixing HTML, MAYUSCULAS and ACENTOS |
Date: | Wed, 6 Jul 2011 18:33:43 -0500 |
To: | <bug-Lingua-ES-Numeros [...] rt.cpan.org> |
From: | "Eduardo Tubert" <eatubert [...] insoft.com.mx> |
When mixing HTML=>1, MAYUSCULAS=>1 and ACENTOS=>1, Lingua::ES::Numeros 0.08
generates incorrect HTML entities.
For example 16 turns into DIECIS&EACUTE;S, when it should be
DIECISÉS.
The problem is located in sub retval. Perhaps it can be fixed by doing the
MAYUSCULAS conversion first and ACENTOS later, and checking for uppercase
letters in the substitution. I haven't tried this solution, I just turned
ACENTOS off!
Thank you for your module.
Eduardo Tubert