I work in Linux Red Hat 4.1.2-48 from PuTTy where set encoding UTF-8(PuTTy).I installed mercurial 2.2.1 and his repository. In ‘hgrc’ file of repository encoding set UTF-8 like :
[web] allow_push = * push_ssl = false encoding = UTF-8 [diff] git = True ignorews = True ignorewsamount = True ignoreblanklines = True
In repository i have files, which names are in utf-8 encoding, and have russian symbols. When i go to repositories directory i see right russian symbols. In Linux enviroment variable LANG=en_US.UTF-8.
.
If i clone this repositoru on windows 7, i have right russian symbols and everything is fine. But if i clone on that Linux all russian symbols become ‘?’ character. When i execute command file -bi
it’s say that it’s utf8.
Can anybody help solve this problem to Russian characters were Russian or say direction of problem?
Advertisement
Answer
Problem with character set issue between windows and Linux, I ran into similar problem. for me everything is ok on Linux and not OK on windows. CharacterEncodingOnWindows has the insight into this issue.