Re: XML Encoding - with examples

From: Date: Tue, 29 Jul 2008 19:59:44 +0000
Subject: Re: XML Encoding - with examples
References: 1 2 3 4 5  Groups: php.general 
Request: Send a blank email to php-general+get-277439@lists.php.net to get a copy of this message
On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <thiago.pojda@gmail.com> wrote: > That's weird. I just changed it to convert everything to UTF and things > appear ok on IE and messy in Firefox. I guess firefox isn't been nice to my > headers after all. It keeps saying the content is in ISO. > > Thanks for your hints and your time. I'll move this to firefox list, as the > XML loads fine in IE (everything set to UTF, even the iconv is uncommented). > Did you change the header call too? The header in your original example was ISO too: header('Content-type: text/xml; charset = ISO-8859-1'); It should be: header('Content-type: text/xml; charset=UTF-8'); Andrew

« previous php.general (#277439) next »