На 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_ce...@botevgrad.com, i...@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