Re: [libxml-devel] Disabling substitution of UTF-8 chars with entities

2007-11-27 Thread Paul Dlug
On Nov 27, 2007, at 3:08 PM, Dan Janowski wrote: > The handling of encoding is not coherent in the extension, as my > last patch on the topic illustrates. While I have no doubt that > there are issues to resolve, in this particular instance I do not > get the result you do. > > Anyone wanti

Re: [libxml-devel] Disabling substitution of UTF-8 chars with entities

2007-11-27 Thread Dan Janowski
The handling of encoding is not coherent in the extension, as my last patch on the topic illustrates. While I have no doubt that there are issues to resolve, in this particular instance I do not get the result you do. Anyone wanting to look at the way encoding is handled is welcome to mak

[libxml-devel] Disabling substitution of UTF-8 chars with entities

2007-11-27 Thread Paul Dlug
There is a serious inconsistency when "round tripping" XML containing UTF-8 characters. If you output the document to a string after parsing you get the UTF-8 back out, if you just grab a node and convert to a string you get UTF-8 characters substituted with entities: utf8test.rb: require '