[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to tell Subversion what is the encoding of a file?

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Sun, 22 Aug 2010 10:31:34 +0200

On Sat, Aug 21, 2010 at 17:33, JWalker <jwalker_at_hotmail.bg> wrote:
> Hi,
> I use ViewVC for viewing SVN repositories. I have files (C source
> files) with comments written in cyrillic (Windows-1251). ViewVC
> display these comments as ? characters. I was told in another forum
> that I have to tell Subversion what the encoding of these text files
> is, so as Subvewrsion to be able to tell ViewVC this information. So
> my question is: How to tell Subversion what the encoding is? May I
> have to set some property on the files? What property?

svn propset svn:mime-type "text/plain;charset=windows-1251" SOMEFILE.c

// ben
Received on 2010-08-22 10:32:30 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.