Encoding problem after 4.13.gpl GPL update

Hello,

Just updated 3 servers (2xDebian 6 and 1x7) with 4.13.gpl GPL from 4.12 and I see numerous encoding problem in French like "Serveur de base de données MySQL ", right on the landing page but also on the following pages. I switched to english US but I thought I'd let you know. Needless to say, everything was ok previously. I also tried switching back and forth, same ...

Pierre

Status: 
Closed (fixed)

Comments

More info:

  • I see the pbm on both Firefox and Safari (up to date) on a Mac 10.10
  • on both it seems that encoding defaults to iso8859-1 because there is no charset declaration ?
  • if I ask specifically for utf8 encoding, it goes back to normal but a few places like "Se déconnecter" where the "é" becomes a question mark in black losange ...

So I guess that either the encoding was changed on purpose for utf8 but no charset is mentionned to browser which defaults usually to iso8859 (and a few places still have iso8859 encoding creating the opposite problem) or some language files have been encoded in utf8 mistakenly ...

Same problem here.
Also, scheduled backup doesn't work any more:
mysqldump: Got error: 1045: Access denied for user 'xxxx'@'localhost' (using password: YES) when trying to connect
My OS is Ubuntu 10.04 LTS

So does this problem happen regardless of whether you select the fr or fr.UTF8 language?

Hello,

  • 1
  • VM=Virtualmin (using "Change Language" on the System Information page)
  • FF= Firefox (Using using "Display->Character encoding")
  • Result: I take the "System Parameters" in the left frame that should be "Paramètres système" in french and "Disconnect" at the bottom that shoud be "Se déconnecter" in fr.

  • 2

  • VM: Current language French (FR) / System default language French (FR.UTF-8)
  • FF: Occidental (I didn't check it, it's checked)
  • Result: "Paramètres système" and "Se déconnecter"

  • 3

  • VM: Current language French (FR) / System default language French (FR.UTF-8)
  • FF: Unicode
  • Result: "Paramètres système" and "Se d�connecter"

Meaning (my experience) for the first test that "Paramètres système" is encoded in utf8 by VM but decoded as iso8859-1 by FF (my guess: no charset declared in HTML, both frameset and frame so FF defaults to iso8859-1). "Se déconnecter" is encoded iso8859-1 so appears correctly on the first test.

On the second test, I force FF to decode utf8 so utf8-encoded "Paramètres système" is ok, but "Se déconnecter" being iso8859-1 is now bad.

Hope this helps. Pierre.

PS: wow it's really difficult to have so nice formatting to make things clear, I hope this will be ok for you.

What changed in latest release that broke this? Maybe it could be reverted.

Ok, I tracked this down - the cause was an incorrect encoding on the French translation files in the 4.13 release. The next version will fix it, but the work-around till then is to run :

cd /usr/{share,libexec}/webmin/virtual-server/lang
cp fr fr.UTF-8
iconv -f UTF-8 -t iso-8859-1 fr.UTF-8 > fr
rm /etc/webmin/virtual-server/links-cache/*

Ok thks for the fix. Pierre.

Automatically closed -- issue fixed for 2 weeks with no activity.