On Dec 30, 2005, at 4:50 AM, Joe Orton wrote:

On Tue, Dec 20, 2005 at 12:23:55PM -0800, Dave Hayden wrote:
I just ran across an IIS server that's sending UTF-16 text, which
Neon apparently can't deal with. Is there a hook somewhere I can add
to translate the text into something Neon can read? It looks like
ne_read_response_block() would be a good place for this, but the
body_readers callbacks can't reallocate the response buffer.

I don't understand the problem: it's an XML response, and the XML parser
is refusing to parse UTF-16?  What XML parser are you using, and what
error do you get?

Ah, I totally forgot that Neon uses an external parser. I was using the libxml packaged with OS X 10.4, version 2.6.16. Upgrading to 2.6.22 fixes the problem.

Thanks for the help, and sorry for the red herring.

-Dave
Panic, Inc.

_______________________________________________
neon mailing list
[email protected]
http://mailman.webdav.org/mailman/listinfo/neon

Reply via email to