[PHP] Problem of characters with xml_parse

2002-07-30 Thread Sebastien Mole
Hello, I have a question concerning characters : I use the function xml_parse on a standalone XML file with the encoding ISO-8859-1 and I want to parse it. It contains all types of characters (including control characters, so ASCII characters from x to x00FF) so as to send and receive

[PHP] Problem of characters with xml_parse

2002-07-30 Thread Sebastien Mole
Hello, I have a question concerning characters : I use the function xml_parse on a standalone XML file with the encoding ISO-8859-1 and I want to parse it. It contains all types of characters (including control characters, so ASCII characters from x to x00FF) so as to send and receive

Re: [PHP] Problem of characters with xml_parse

2002-07-30 Thread Analysis Solutions
On Tue, Jul 30, 2002 at 05:12:25PM +0200, Sebastien Mole wrote: but when I try to parse characters such as chr(#x0001) or chr(#x001F) (or others) the parser returns me an error Line wrapping... What a concept. In my PHP XML parsing tutorial,

Re: [PHP] Problem of characters with xml_parse

2002-07-30 Thread Rasmus Lerdorf
Can't you just use CDATA blocks? Personally I'd either use an entity reference or base64 the stuff. -Rasmus On Tue, 30 Jul 2002, Sebastien Mole wrote: Hello, I have a question concerning characters : I use the function xml_parse on a standalone XML file with the encoding ISO-8859-1 and I