Re: Switching to UTF-8. Need help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux