Re: Switching to UTF-8. Need help.
| From: | Richard Lynch | Date: | Fri, 24 Mar 2006 00:14:16 +0000 |
| Subject: | Re: Switching to UTF-8. Need help. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232485@lists.php.net to get a copy of this message | ||
Check the HEADERS your web-server is sending.
If they don't have Charset UTF-8 in there, it won't work on REAL
browsers (Mozilla based)
Then, for reasons known only to Microsoft, you have to use a META tag
to define the Charset for IE.
MS will *ignore* the headers in favor of a heuristic whereby they
count the number of characters in any given document which do/don't
fit into various common charsets, and then they choose the charset
based on that.
Apparently, MS assumes that web-designers who can only handle META
tags are smarter than developers who use header() function. Go
figure. :-^
On Thu, March 23, 2006 10:13 am, 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?
>
> Best regards,
> Andy.
--
Like Music?
http://l-i-e.com/artists.htm