[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: Ivan Cenov <i_cenov_at_botevgrad.com>
Date: Wed, 25 Aug 2010 19:54:46 +0300

  На 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.

-- 
Regards,
Ivan Cenov
OKTO-7 Co., Botevgrad, Bulgaria
i_cenov_at_botevgrad.com, imc_at_okto7.com
   GSM: +359 888 76 10 80
phone: +359 723 6 61 20, +359 723 6 61 61
   fax: +359 723 6 62 62
Received on 2010-08-25 18:55:30 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.