[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: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Wed, 25 Aug 2010 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

$ svn propset svn:mime-type "text/plain;charset=Windows-1251" file1.txt
file2.txt ...

// ben
Received on 2010-08-25 07:55:22 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.