2007/6/13, Elan Ruusamäe <glen delfi.ee>:
>
> On Wednesday 13 June 2007 15:43:42 Gutemberg Vieira
wrote:
> > 1. Now it is working. But, this brought another
problem related to
> > localization. See, in the page that displays the
e-mail, there is a
> button
> > to the Next Message. The name of the button,
translated to portuguese is
> > "Próxima Mensagem". This name is get
from the eventum.mo in pt_BR, in
> > UTF-8. So, if the charset is changed to ISO-8859-1
to display the e-mail
> > correctly, it will show the button wrongly,
because of the accent in
> > "Próxima".
>
> well. the charset detect is hack
>
> correct solution would be to store internally all items
in utf8 encoding
> (ie
> converting emails when they arrive)
As we can guess the charset, how difficult would be to
convert e-mails to
UTF-8 before storing in the database. I am asking, because I
don't know
eventum well internally.
We have a lib to convert?
[]s
Gutemberg Vieira
|