Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Tell Mercurial to use UTF-8 encoding #6

tstgruby opened this Issue Jan 31, 2013 · 0 comments


None yet
2 participants

If not given explicitly Mercurial tries to detect the currently used encoding.

E.g. when LC_CTYPE=C Mercurial properly rejects text containing characters not part of 7-bit ASCII.

Mercurial has a global --encoding option, but using that with hg 2.0 did not work for me.

The best bet is to set the HGENCODING environment variable to utf8 when executing mercurial.

@jgm jgm closed this in 83b2754 Feb 1, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment