[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:01:22 +0300

  На 25.8.2010 г. 08:54, B Smith-Mannschott написа:
> 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
>

Hi, I tried with
*
svn:*mime*-type* text/plain; charset=Windows-1251
and
*svn:mime-type* text/plain; charset=windows-1251
and
*svn:mime-type* text/plain;charset=windows-1251
and
*svn:mime-type* text/plain; charset=Windows-1251

on a file d.c but without success. ViewVC continued to show ???? instead
of cyrillic letters.

Well, Subversion supplies the information. It is up to ViewVC to deal
with it...

 From my point of view, it would be better a dedicated property to be
defined.
svn:charset is only an example.

-- 
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:02:06 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.