На 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_ce...@botevgrad.com, i...@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

Reply via email to