Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
On Tue, Jul 29, 2008 at 4:59 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <[EMAIL PROTECTED]> > 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 bee

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Andrew Ballard
On Tue, Jul 29, 2008 at 3:52 PM, Thiago H. Pojda <[EMAIL PROTECTED]> 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

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
On Tue, Jul 29, 2008 at 4:20 PM, Andrew Ballard <[EMAIL PROTECTED]> wrote: > On Tue, Jul 29, 2008 at 2:33 PM, Thiago H. Pojda <[EMAIL PROTECTED]> > wrote: > > > -- > > Thiago Henrique Pojda > > > > Are you sure the accented characters you are using are part of > ISO-8859-1 and not UTF-8? I don't

Re: [PHP] XML Encoding - with examples

2008-07-29 Thread Andrew Ballard
On Tue, Jul 29, 2008 at 2:33 PM, Thiago H. Pojda <[EMAIL PROTECTED]> wrote: > Okay, > > After much iconv, headers and "workarounds" I figured I can't use > DOMDocument for XMLs when under ISO-8859-1 encoding without messing accented > chars. > > The idea is simple: get a query result and turn into

[PHP] XML Encoding - with examples

2008-07-29 Thread Thiago H. Pojda
Okay, After much iconv, headers and "workarounds" I figured I can't use DOMDocument for XMLs when under ISO-8859-1 encoding without messing accented chars. The idea is simple: get a query result and turn into a XML. Using mysql_fetch_object is the best way for this task. If I just do nothing: ge