[whatwg] Charset sniffing from XML prolog

On 10/7/09 7:51 PM, Kartikaya Gupta wrote:
> I tried it again in Chrome and if I paste the above in the address bar I get US-ASCII. But if I save it to a file and then load it I get UTF-8. I checked the headers being sent from Apache and they don't include any sneaky encoding hints, just Content-Type: text/html.

Can you attach the exact file you saved?  Does it have a BOM, perchance?

-Boris

Received on Wednesday, 7 October 2009 17:23:35 UTC