Hi, 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).
Bye Vasek --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]