Re: Internet Explorer doesn't display UTF-8 page using UTF-8 encoding

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

 



IE does some really funky things attempting to "guess" the charset,
because it assumes that web developers and web designers just don't
understand this charset stuff...

And they may be correct, as a general rule, but it sure makes life
tough when you actually send out the correct headers and META tags and
it doesn't work...

I think one other wrinkle is in the DOCTYPE -- A more current DOCTYPE
is assumed by IE, I think, to mean that you know what you are doing,
and it pays attention to the META tag.

It's still a lot like Voodoo to get IE to do anything, though...

I know in at least one instance, IE honored the META tag, but not the
header() charset.  Sigh.  Took me days to track that one down.

On Sat, August 12, 2006 7:47 pm, Jonny Bergström wrote:
> ....but Firefox does.
>
> this is the page: http://shiinaringo.se/guestbook.php
>
> You can see that a lot of characters (Swedish, Japanese) are totally
> garbled
> when using IE. Works fine in FF. If you try to look at some of the
> other
> pages linked to in the menu, they will work with IE as well. So I just
> don't
> know what is the problem with this one page.
> All pages on this site includes a header file which starts with:
>
> ---cut---
> <?php echo '<?xml version="1.0" encoding="UTF-8"?>';?>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
> http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html>
>     <head>
>         <meta name="Content-type" content="text/html; charset=UTF-8"
> />
> ---cut---
>
>
> Which means that in my view I tell the browser through the meta tag
> which
> charset is used (UTF-8). However IE doesn't seem to give a damn about
> this.
> I'm pulling my hair. :-(
>


-- 
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