On Tue, Jul 23, 2002 at 08:06:07PM +0200, Marcus Comstedt wrote:
>
> =?UTF-8?B?QnJhbmtvIMSMaWJlag==?= <brane@xbc.nu> writes:
>
> > >Also, for the XML case no charset declaration is needed since UTF-8 is
> > >the default.
> > >
> >
> > I know that's the default within XML, but does HTTP know about it?
>
> No, but it doesn't need to. It just needs to deliver the octets from
> point A to point B. HTTP is just the transport mechanism, it doesn't
> interpret the data in any way at all.
An HTTP message body with the text/xml media type is assumed to use the
ISO-8859-1 character set if no charset parameter is given in the
Content-Type header (RFC2616, section 3.7.1), so adding the
charset=UTF-8 is strictly required in this case if I understand it
correctly. (or using the application/xml media type and avoiding the
issue, which neon will do in the next version).
Regards,
joe
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jul 23 21:29:44 2002