UnicodeDecodeError: 'ascii' codec can't decode byte... errors on OS X
Matthias Pigulla
mp at webfactory.de
Tue Aug 20 12:39:59 UTC 2013
Hi all,
I often get the above mentioned errors from hg, even on simple command
typos like shown in http://bpaste.net/show/mHiB5oIho06bGqAyrJ76/.
Obviously it has something to do with the handling of gettext-based
localizations for help texts or similar. My LANG is set as
LANG=de_DE.ISO8859-1.
Setting LANG=C or removing the locale/de directory containing the German
gettext translations makes the problem go away (all output is English and
ASCII then).
1. Is there a configuration setting for switching hg to English without
changing the LANG (or having a wrapper script that changes it for hg
invocations)?
2. Is OS X + German + latin1 known to be buggy/unsupported or is that
something I should try to track down?
3. If the latter is true for (2.), any hints how or where to start?
Thanks!
-mp.
More information about the Mercurial
mailing list