Re: XML Encoding - with examples

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <thiago.pojda@xxxxxxxxx> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux