[
Lists Home |
Date Index |
Thread Index
]
> From: Tim Bray [mailto:tbray@textuality.com]
> Sent: Saturday, March 23, 2002 6:07 PM
> To: Julian Reschke
> Cc: Joshua Allen; michael.h.kay@ntlworld.com; Rick Jelliffe;
> xml-dev@lists.xml.org
> Subject: Re: [xml-dev] MSXML DOM Special Chars Less Than 32
>
>
> Julian Reschke wrote:
>
> > However, ignoring the issue doesn't exactly help either. Many
> > applications/protocols are stuck with the task of marshalling
> "arbitrary"
> > strings as XML (and datatype xs:string), so it would be good if
> there was an
> > XML-1.0 compliant, cross-protocol format to do this.
>
>
> Doesn't base64 meet this requirement? -Tim
Nope.
First of all it isn't compatible to xs:string. An application that expects a
plain string will be extremely confused when it get's base64-encoded data
instead.
Second, base64 is for encoding *binary* data. What I'm looking for is a
efficient and readable format for transporting Unicode strings (only
possibly) *including* U+0000 to U+001F.
Julian
|