Vaclav,

> On Wednesday 09 February 2005 16:05, [EMAIL PROTECTED] 
wrote:
> > When the code below is run the xml is not well formed.
> > To be more precise, the output via toString isn't well formed, the
> > output via toFile _is_ well formed.
> > What seems to happening is that toString is decoding the utf string
> > \x{C3}\x{84} for some reason. toFile does not do this.
> IMHO STDOUT does it - when I change the binmode parameter to ":utf8", I get 
> the same data on standard output as in the file (perl 5.8.0, libxml 2.6.16 on 
> Linux).

Yes, as it should, however, the output isn't set to :utf8 it's set to :raw. 
I don't set it to :utf8 since not all output is going to be utf8.

John


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to