'ValueError: unknown locale: UTF-8' problem in Mac OS X 10.5 Leopard [solved (more or less)]

Oscar Sanchez Casamitjana osc.lists at gmail.com
Mon Oct 29 08:08:40 CDT 2007


On 10/29/07, Oscar Sanchez Casamitjana <osc.lists at gmail.com> wrote:

> thanks Jay! I finally solved my problem adding this to my bash profile:
>
> export LC_ALL=es_ES.UTF-8
> export LANG=es_ES.UTF-8
>
> now I can 'hg whatever' and use out-of-ASCII chars.
>
> but now I don't understand what's the point of "Set LANG environment
> variable on startutp" preference in Terminal.app :(
>
> here's some info on this locale thing:
> http://www.madboa.com/geek/utf8/
>
> thanks everybody,
> oscar.

FTR: http://henrik.nyh.se/2007/10/displaying-utf-8-correctly-in-leopard-terminal


oscar.


More information about the Mercurial mailing list