[Webkit-unassigned] [Bug 14338] Safari 3.0.2 beta for windows detects wrong encoding

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 24 01:27:21 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=14338





------- Comment #4 from krudtaa at yahoo.com  2007-06-24 01:27 PDT -------
(In reply to comment #1)
> (In reply to comment #0)
> > I'm using this in the head section of the page:
> > <meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
> 
> This is incorrect.  It should read:
> 
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> 
> > It (the page) works in browsers like Firefox, IE, Opera, Netscape.
> 
> Do these other browsers support the "charset" attribute, or does this simply
> work "by chance" because they use a different default charset?
> 

Hi there.

Sorry, my fault but found another difference between Safari and the rest
of the browsers.

Have now changed the line to:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

So now safari is using the correct encoding.

BUT.... I originally had forgot to remove an ECHO line in my PHP script before
the doctype part in the page.

And that echo line still causes Safari to use wrong encoding and wrong
characters, also with the corrected meta line.
The other browsers still show the page with correct encoding even with the ECHO
line before the doctype line.

Anyway thanks for the meta line correction.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list