----- Original Message -----
From: "Paul Libbrecht" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 06, 2002 12:41 PM
Subject: Patch suggestions


[snip]
> -> we wanted to have the ability to exchange UTF-8 encoded messages so
> the XMLWriter has been enriched and the MinML parser as well. XMLWriter
> now writes its messages with encoding either ASCII, ISO-8859-1 or UTF-8
> depending on the highest character found when sending. MinML has been
> patched to support reading this (the patch is not really perfect, I
> expect John Wilson to present something better one day).

Paul,

    you have pricked my concience ;)

I really will do a proper job of guessing the encoding as suggested by the
W3C spec and then looking for the ecoding attribute in the XML declaration.
I'll start work on this at the weekend. We should also probably look for and
honor the HTTP Content-Type charset parameter. There was an excellent thread
on this issue on XML-DEV in Octobet last year (Look for "Text/xml with
omitted charset parameter" as a subject in the archive).


John Wilson
The Wilson Partnership
http://www.wilson.co.uk

Reply via email to