hgview #142378 cyrillic encode problem [validation pending]

By Юрий Мандрик <invision70@gmail.com


Hi, thanks for the hgview extension! I am from russia, I have a problem with the work extension hgview. fileview do not support cyrillic encode. Please, add the following changes next release.

File: hgfileview.py line ~170

find: self.sci = HgQsci(self) after add: self.sci.setUtf8(True)

thank you :)


How to reproduce:

hg init cyrillic
cd cyrillic
hg branch 'ЖЗИЙФ'
echo 'ЖЗИЙФ' > ЖЗИЙФ
hg add ЖЗИЙФ
hg ci -m 'ЖЗИЙФ' -u 'ЖЗИЙФ'
hg bookmark 'ЖЗИЙФЖЗИЙФ'
hg tag 'ЖЗИЙФ'
hg mv 'ЖЗИЙФ' 'ЖЗИЙФЖЗИЙФ'
hg ci -m 'move'
echo 'hello' > ЖЗИЙФЖЗИЙФ
hg ci -m 'back to ascii'
hg rm ЖЗИЙФЖЗИЙФ
hg ci -m 'remove'

Now look at the main dialog, the file dialog and the manifest dialog. The filename, file content, and commit description do not seem be be well displayed everywhere.

priorityimportant
typebug
done in1.8.0
load0.100
load left0.000
closed by#a802dac29c7e [qt] full support for unicode with utf-8 encoding (closes #142378)
patch[qt] fix unicode caracters in scintilla (closes #142378) [rejected][qt] full support for unicode with utf-8 encoding (closes #142378) [applied]