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

Re: About character encoding of the text files

From: Stefan Sperling <stsp_at_elego.de>
Date: Wed, 25 Aug 2010 21:19:19 +0200

On Wed, Aug 25, 2010 at 06:58:50PM +0200, Branko Čibej wrote:
> On 25.08.2010 18:54, Ivan Cenov wrote:
> > Well, I tested with svn:mime-type=text/plain; charset=windows1251. I
> > tried to define it as
> > auto property in [auto-props] section of Subversion config file
> > (it resides in C:\Documents and Settings\username\Application
> > Data\Subversion).
> > This was not successful because ';' after 'plain' is a delimiter and
> > so "charset=windows1251"
> > is truncated. This is argument against svn:mime-type.
> It's more an argument for fixing autoprops, IMHO :)

Looks more like auto-props documentation needs a fix.
The escaping rules don't seem to be documented.
You can write ';;' to get a literal ';'.

So you can use this in your config for auto-props:

        svn:mime-type=text/plain;; charset=windows1251

Stefan
Received on 2010-08-25 21:20:17 CEST

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.