[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 25 Aug 2010 12:19:47 +0300

B Smith-Mannschott wrote on Wed, Aug 25, 2010 at 07:54:26 +0200:
> On Tue, Aug 24, 2010 at 21:19, Ivan Cenov <i_cenov_at_botevgrad.com> wrote:
>
> > Hello,
> >
> > This is my first post in this list. I was pointed to post here in another
> > thread
> > ViewVC site (http://viewvc.tigris.org/issues/show_bug.cgi?id=11).
> >
> > The original reason was that ViewVC is unable to show correctly text files
> > that contain Cyrillic characters (character set windows-1251). (The same
> > issue
> > is related for Western Europe's characters too.)
> > People told me that ViewVC cannot do this because it lacks of encoding
> > information. This information should come from Subversion and
> > Subversion could have this information if the users have supplied it into
> > Subversion.
> > The last posts in above mentioned thread give more information about the
> > problem.
> >
> > As I understood, information about character encoding may be supplied as
> > svn: property, say, svn:encoding encoding_type. Par example:
> > svn:encoding windows-1251.
> >
> > So, are there any intentions among the Subversion developers and users to
> > be defined
> > such property? Would it be reliable way for this task?
> > If there is an issue about this problem, what is its priority?
> >
> >
> The property svn:mime-type carries charset information as an additional
> field:
>
> $ svn propset svn:mime-type "text/plain;charset=Windows-1251" file1.txt
> file2.txt ...
>

Ben, does svnbook document this syntax (and when to use it)?

(or the "$Keyword::$" syntax, while I'm at it)

> // ben
Received on 2010-08-25 11:23:24 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.