Re: Switching to UTF-8. Need help.
| From: | Rasmus Lerdorf | Date: | Thu, 23 Mar 2006 22:29:38 +0000 |
| Subject: | Re: Switching to UTF-8. Need help. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232478@lists.php.net to get a copy of this message | ||
Andy wrote:
Hi to all, We are developing a multilanguage application, and slowly it seems that the Latin1(ISO 5589 1) encoding is not enough. I tried simply to convert the database and the encoding of the php to UTF-8, but I'm getting some problems. If I make an echo 'möbel, Belgien' the browser does not show me the correct character. If I look in the source of the document the character is good. Default encoding of the browser is UTF-8. If I change manually the browser encoding then the chars are showed correclty. We have a lot of "defines" with fix texts, which are full with german and french characters. Any of these aren't shower correctly. What is the workaround for this?In your php.ini file, use: default_charset = "utf-8" -Rasmus