1
snakes
Problem with characters encoding and multi language using language module
  • 2004/8/8 1:05

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


My web page is in French, English and Vietnamese.
The problem is French and English use ISO-8859-1 and Vietnamese uses UTF-8
I put this:
[fr]L'été sera chaud[/fr][en]The summer will be hot[/en][vn]Mùa hè sẽ nóng[/vn]
It seems OK in the editor.
But when I submit it and it is saved in the data base, it just like the string is processed by the PHP
and if I was in Vietnamese interface all french accents are translated into UTF-8. If I was in french or english
all vietnamese accents are translated in ISO-8859-1.
Thus when I get into the website, the accents are correct just for one language. If I was editing the text in vietnamese then all french accents are false, and if I was editting in french or english then all vietnamese accents are false...
Xoops or the module should leave the string as it is when saving it to the database