[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: Thu, 26 Aug 2010 17:14:31 +0300

  На 26.8.2010 г. 16:29, Mark Phippard написа
> Will this fix the problem? Isn't there still the problem that the
> page advertises its encoding to the browser as UTF-8? Does ViewVC
> convert from the encoding in the mime-type to UTF-8 before sending the
> content to the browser? Or is that what Pygments is doing for you?
>
Hi,

Here is what happens in the browser (Firefox 3.6.8). I mean the page
that shows
the file content.

I set svn:mime-type text/plain; charset=windows-1251 on several files.
Also, I entered a commit message with Bulgarian (Cyrillic) text) and
English text
Then I showed one of these committed files in ViewVC.

The page came in UTF-8. The log message showed properly - the Cyrillic text
appeared and was readable. The file content was replaced with ?????????

Then I changed charset in Firefox. The things swapped:
The log message changed and the Cyrillic letters turned to some other
symbols,
not ????????.
The file content appeared and became readable.

I have two screen captures (JPG) each of them of 100k size. If this
mailing list
allows attachments I could attach them in a new mail, please tell me if
this is OK.

-- 
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-26 16:15:34 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.