[Project_owners] XMLHttpRequest characterset weirdness

Sudhakar Chandra thaths at openscroll.org
Tue Oct 5 14:26:45 EDT 2004


Matthew Wilson wrote:
> (code snipped)
> 
> It sounds to me as though the content is sending a character encoding as 
>  an HTTP header which is honoured by XMLHttpRequest when it constructs 
> the DOM object, but lost when you save the raw text to file.
> 
> You may need to re-serialize the responseXML object with a specified 
> character encoding (eg UTF-8).

Thanks for that quick answer.  Could you point me towards a code snippet?

Thanks.

S.
-- 
Grandpa: "I'm an old man, no one listens to me."
Lisa:    "I'm a young girl, no one listens to me."
Homer:   "I'm a white male aged 18 to 49, everyone listens to me, no
          matter how dumb my suggestions are."
Slacker Without Borders                        http://openscroll.org/
Key fingerprint = 8A 84 2E 67 10 9A 64 03  24 38 B6 AB 1B 6E 8C E4


More information about the Project_owners mailing list