[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] mod_dav_svn directory listing i18n fix, and odd bug

From: Joe Orton <joe_at_manyfish.co.uk>
Date: 2002-07-23 21:29:14 CEST

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).



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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.