Mercurial commit messages and log, what encoding is supported, does Hg care at all?
问题 I tried doing a simple commit through my wrapper library for Mercurial, using the simple text of Unicode:æøåÆØÅ as my commit message. This is written to a text file and given to Mercurial with the appropriate parameter: hg commit --logfile FILE If I subsequently look at the repository with TortoiseHg, the characters are reproduced correctly. On the Console, they are mangled: [C:\Temp] :hg log changeset: 0:6a0911410128 tag: tip user: Lasse V. Karlsen date: Wed Dec 01 21:48:54 2010 +0100