On Tue, 29 May 2012 12:31:14 +0400, Геннадий Казачёк wrote:
> In my development routines I have to use both Windows and Linux
> machines with mercurial, and I use THG under Windows.
> In commit comments I use local (Russian) symbols and THG encode them
> in windows-1251, which is default for Windows. And Linux have utf-8 by
> default, so I need to modify Linux or Windows encoding. I guess that
> utf-8 is right choise, but I fail to config THG to use utf-8 in
> comments. Tried to play with HGENCODING=utf-8 env, but with no result
> at all. THG still use windiws-1251 in comments.
> Is there any possibility to change encoding in THG?

Hi,

..maybe your question has already been solved, but..

commit comments are stored in utf-8, so you don't need to care about it.
HGENCODING affects in-memory representation of comments.

http://mercurial.selenic.com/wiki/EncodingStrategy#UTF-8_strings

Regards,

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to