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

Re: svn.collab.net httpd configuration: default charset

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-04-16 17:25:04 CEST

On Apr 16, 2005, at 10:17 AM, Greg Hudson wrote:

> If you visit a URL like
>
> http://svn.collab.net/repos/svn/tags/1.2.0-rc1/CHANGES
>
> you will see some UTF-8 text misrenderd as ISO-8859-1, because the
> response has a header of
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Since CHANGES, like most text files in Subversion, has no
> svn:mime-type, the mod_dav_svn default of "text/plain" is used. httpd
> automatically adds the value of AddDefaultCharset to this mime type,
> which on svn.collab.net is evidently set to the default value of
> ISO-8859-1.
>
> I suggest that AddDefaultCharset on svn.collab.net be set to UTF-8.
> That could presumably be scoped to the Subversion project if desired.
>

As a followup to this question -- what was the latest thinking on
charsets in general? mod_dav_svn already looks for svn:mime-type when
sending a file, and sets the Content-type: header appropriately.
Didn't somebody once propose creating an svn:charset property that
mod_dav_svn could also notice?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 16 17:29:07 2005

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