Re: First stupid post of the year. [SOLVED]
| From: | Richard Lynch | Date: | Tue, 15 Jan 2008 17:35:40 +0000 |
| Subject: | Re: First stupid post of the year. [SOLVED] | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-267316@lists.php.net to get a copy of this message | ||
On Sat, January 5, 2008 4:04 pm, Nisse Engström wrote:
> On Sat, 5 Jan 2008 01:08:13 -0500, tedd wrote:
>
>> At 1:41 AM +0100 1/5/08, Nisse Engström wrote:
>>>On Fri, 4 Jan 2008 09:16:54 -0500, tedd wrote:
>>>
>>>> At 10:33 AM +0100 1/4/08, Nisse Engström wrote:
>>>>>On Thu, 3 Jan 2008 12:39:36 -0500, tedd wrote:
> NOTE: Richard Lynch tells us that (some versions of)
> Internet Explorer, under certain circumstances, ignore
> the `Content-Type:´ header and that a <meta> element is
> necessary to make it guess the encoding correctly. I
> don't know about this, but I tend to believe him.
I'm WAY behind on emails, but thought I'd chime in here, in case
somebody wants to try to find it...
I no longer have access to the SOAP service that was providing the
data that was causing the problem, so I can't give a URL that will
demonstrate this easily.
But I can add that the HTML output (required by my former boss) was SO
BAD that it didn't even begin to validate and was throwing IE into
quirks mode.
So, having a header() and being in quirks mode in IE 6 (5?) and not
having a META tag for the charset, and having mixed charsets (or
whatever they are) on a page was causing this issue.
The actual characters were a pronunciation guide to "Medici" as well
as having "Medici" written with diacritial marks in another part of
the page.
You can snag the output from answers.com (the provider of
no-longer-available SOAP service) if you really want to play with
this.
Then you'd have to wrap their content up in some truly disgusting
non-validating HTML and re-present it as your own content.
Putting in the META tag forced IE to use UTF-8 and make it work.
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/from/lynch
Yeah, I get a buck. So?