Page 1 of 1

Google, Unicode & Firefox

Posted: Sat Oct 08, 2005 7:50 pm
by hmesker
When you use Firefox, search with Google on a phrase, my website is listed and you click on the link, the Unicode (Chinese) characters do not show up properly. Instead of the Chinese characters you see &#21319 codes.

For instance, search with Google on 'Fuyang Yijing', the first link in the list should be my weblog ('Harmen's Dagboek'). When you click on the link you are supposed to see Chinese characters on my site, but on my computer they don't show up.

I don't have this problem with Internet Explorer. Any tips to make my site more Firefox, Google & Unicode friendly are much appreciated.

Best,

Harmen.

Re: Google, Unicode & Firefox

Posted: Sun Oct 09, 2005 11:20 pm
by garvinhicking
The problem is that you are using chinese characters with ISO-88591- character set.

In your case, when you do not use the dutch ISO characters only, that you need to use UTF-8.

There are two ways of doing this:

1. Use Serendipity 0.9 and switch the charset to "UTF-8".

2. When using serendipity 0.8, edit your serendipity_lang_nl.inc.php language file, set the LANG_CHARSET constant at the top of the file from "ISO-8859-1" to "UTF-8". Then tell your editor to save the file with "UTF-8" format. Ultra-Edit and other UTF-8 compatible editors allow you that.

You will then need to edit your old entries, or live with the fact that old entries will not display their characters properly.

For more information on UTF-8, please also read http://www.s9y.org/46.html

Best regard,s
Garvin