How to fix aHg output encoding?

Here's what I use: - MacOS X 10.6.7
- GNU bash, version 3.2.48 (1) -release (x86_64-apple-darwin10.0)
- Mercurial Distributed SCM (version 1.7.2 + 20101201)
- GNU Emacs 24.0. 50 (build from git repo with - cocoa)

- aHg v0.99

Here are my emacs settings:

(set-default-coding-systems 'utf-8)
(prefer-coding-system 'utf-8)
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(set-language-environment 'UTF-8)

And here is what I got after C-c h g s:

parent: 2512:6252abcd7368 tip
 JavaScript: ???????? ???????????? ????? ? ???????.
branch: default
commit: 3 modified, 6 unknown
update: (current)

Running hg logunder M-x termgives me the correct result, which I can read ( ?- Russian characters ...). So ... How can I fix this in Emacs on aHg output?

+3
source share
2 answers

, - LANG Emacs)? ( M-: (getenv "LANG")? , Mac OS X LANG "C" ... LANG...

LANG Emacs (setenv "LANG" "ru_RU.UTF-8") "en_EN.UTF-8", .

P.S. ahg LANG , LANG "C" ahg-log

0

, , , C-c h g s, . , , , , C-u C-x =. Emacs, , . Unicode U + 0400 - U + 04FF, Arial, , , Emacs:

(set-fontset-font "fontset-default"
                  '(#x400 . #x4ff)
                  "Arial")
0

All Articles