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 升 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.
Google, Unicode & Firefox
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Google, Unicode & Firefox
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/