Sunday, December 21, 2008

Google Chrome fail

This is the Khmer Wikipedia on my system in Chrome.


This is also the km.wikipedia on my system with Firefox.


Google has some more work to do to get it right.
Thanks,
GerardM

6 comments:

Alex Chitu said...

You're not using the proper encoding. Go to the page dropdown, click on Encoding and select "Unicode (UTF8)" or "Auto-detect".

GerardM said...

Hoi,
both with Auto-detect and Unicode(UTF-8) it does not work. At the time of the screen print it was already on UTF-8. If you want me to, I can send you a screen print,
Thanks,
GerardM

GerardM said...

.. I uploaded a screen print to Commons ..

http://commons.wikimedia.org/wiki/File:Km.wikipedia_Chrome.jpg

Thanks,
GerardM

Alex Chitu said...

The page loads fine for me (using a recent Chromium build):
http://i43.tinypic.com/34pdqp4.png

There's an option to report bugs or broken sites in the page menu.

GerardM said...

Hoi,
Thanks, Alex I did with the explanation that I installed the Khmer font as per the km.wikipedia instructions.

I also reported the problem with the ln.wikipedia..
Thanks,
GerardM

It would be so cool if these problems are solved in one way and another.

Bawolff said...

After briefly looking at km wikipedia, i noticed it only specifies the font as sans-serif. Perhaps if it had a css deceleration specifying a khmer font:

body {font-family: "name of Khmer font", sans-serif;}

(so if the khmer font names are kartika and Khmer OS, you would put in [[mediawiki:common.css]])

body {font-family: "kartika", "Khmer OS", sans-serif;}

(You can test if this would work without editing anything by going to some page on km.wikipedia.org and going to the url javascript:document.body.style.fontFamily%20=%20'Kartika';void%200; replacing kartika with the appropriate khmer font name.)

This is just a guess, as I have neither Khmer fonts or Chrome installed, but my understanding [which may or may not be correct] is that firefox will automatically change fonts if it can't find a letter, where some other browsers don't.