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

Login

Who's Online

159 user(s) are online (113 user(s) are browsing Support Forums)


Members: 0


Guests: 159


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits