Re: [PHP] XML Encoding - with examples
- From: aballard@xxxxxxxxx ("Andrew Ballard")
- Date: Tue, 29 Jul 2008 15:59:44 -0400
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
.
- Follow-Ups:
- Re: [PHP] XML Encoding - with examples
- From: "Thiago H. Pojda"
- Re: [PHP] XML Encoding - with examples
- References:
- Re: [PHP] XML Encoding - with examples
- From: "Andrew Ballard"
- Re: [PHP] XML Encoding - with examples
- From: "Thiago H. Pojda"
- Re: [PHP] XML Encoding - with examples
- Prev by Date: Re: [PHP] foreach question
- Next by Date: Re: [PHP] XML Encoding - with examples
- Previous by thread: Re: [PHP] XML Encoding - with examples
- Next by thread: Re: [PHP] XML Encoding - with examples
- Index(es):
Relevant Pages
|
Loading