Rhodecode -- How to see utf8 commits in hg

513 views Asked by At

When we using hg repository in rhodecode, all our utf8 commits(Cyrillic) are shown as question mark. Console tests:

user@host:~/src/project$ export LANG=en_US.UTF-8
user@host:~/src/project$ hg log --rev f263422d9a6c
changeset:   249:f263422d9a6c
date:        Mon Dec 15 11:19:16 2014 +0500
summary:     checkin - seatmap ?????????? ??????: ????? ???? ?? ???????? ?? ?????????

user@host:~/src/project$ export LANG=ru_RU.UTF-8
user@host:~/src/project$ hg log --rev f263422d9a6c
набор изм-й:   249:f263422d9a6c
дата:          Mon Dec 15 11:19:16 2014 +0500
сводка:        checkin - seatmap исправляем ошибку

Screen-shot from Rhodecode:

enter image description here

May be it somehow connected with this question

1

There are 1 answers

1
marcinkuzminski On BEST ANSWER

you can specify multiple encoding in the .ini file of RhodeCode

Please try setting:

default_encoding = CP1251,UTF-8