Page 1 of 1

ISO-8859

PostPosted: 21. April 2007 17:24
by jonass
Hi
I've problems with ISO-8859! I want print (php + xml) the special caracters like á, à, é, è, ê, ã, õ, ó, ç, etc, and the results are: á, à , é, è, ê, ã, õ, ó, ç.

Can you help me please?

Thanks

PostPosted: 21. April 2007 17:30
by Wiedmann
I want print (php + xml)

Can you explain this more detailed?

á, à, é, è, ê, ã, õ, ó, ç,

That's iso-8859-1 encoding.

á, à , é, è, ê, ã, õ, ó, ç.

And that's utf-8 encoding, printed with a iso-8859-1 client.

PostPosted: 21. April 2007 17:48
by jonass
Wiedmann wrote:
I want print (php + xml)

Can you explain this more detailed?

á, à, é, è, ê, ã, õ, ó, ç,

That's iso-8859-1 encoding.

á, à , é, è, ê, ã, õ, ó, ç.

And that's utf-8 encoding, printed with a iso-8859-1 client.


Hi
I discover what's happen. The problem is in parser command...
xml_parser_create('') is assumed with utf-8.

Thanks

PostPosted: 21. April 2007 19:31
by Wiedmann
Sorry, the problem is not XAMPP, it's your code (the parser)...

You should ask the author of this parser, how to handle iso-8859-1 source files.