'ValueError: unknown locale: UTF-8' problem in Mac OS X 10.5 Leoparad

Oscar Sanchez Casamitjana osc.lists at gmail.com
Sun Oct 28 18:18:15 CDT 2007


On 10/29/07, Jens Alfke <jens at mooseyard.com> wrote:
>
> On 28 Oct '07, at 3:02 PM, Oscar Sanchez Casamitjana wrote:
>
> > 13. 'hg' now works in iTerm, but _still_ spits the locale error in
> > Terminal.app
>
> Enter "printenv" in both Terminal and iTerm, and compare the results.
> There must be some difference :)

yup, it seems that Terminal has LANG defined as UTF-8, while iTerm has
nothing defined.

uh, if I *disable* the "set LANG environment variable on startup"
checkbox on Terminal.app the error goes away!



cheers,
oscar.


More information about the Mercurial mailing list