[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: Branko Čibej <brane_at_xbc.nu>
Date: Wed, 25 Aug 2010 18:58:50 +0200

On 25.08.2010 18:54, Ivan Cenov wrote:
> На 25.8.2010 г. 19:27, Matthew Bentham написа:
>>
>>
>> Maybe, but doing it this way is consistent with the way that the
>> charset is included in the "Content-Type" http header alongside the
>> mime type, described eg. here:
>>
>> http://www.w3.org/International/O-HTTP-charset
>>
>> It makes sense to include it alongside the mime-type, because it's
>> only valid to set it if the document is of type 'text', eg.
>> text/plain or text/html.
>>
>> Matthew
>>
>
> Ok, I have understood. It does not make big difference, more important
> is that the information exists.
> It is better to be compliant with the existing norms and rules, so
> svn:mime-type is OK too.
>
> 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 :)

-- Brane
Received on 2010-08-25 18:59:37 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.