I should have mentioned that the last link below lists this as an alternative remedy:
Unchecking the "Set LANG environment variable on startup" checkbox in the Terminal settings, under the "Advanced" tab, fixes it though. I've tested this in both bash and zsh. I have not tested this though, since I'm on Lion... Terminal.app on Lion appears to correctly specify my LANG as en_US.UTF-8. Mike On Wednesday, June 6, 2012 at 11:58 PM, Mike Percy wrote: > It probably should go in the FAQ… this is unfortunate and I wonder if we can > work around it somehow. > > Other related links: > http://stackoverflow.com/questions/10921430/fresh-installation-of-sphinx-quickstart-fails > http://selenic.com/pipermail/mercurial/2007-October/015292.html > http://henrik.nyh.se/2007/10/displaying-utf-8-correctly-in-leopard-terminal > > Thanks, > Mike > > > On Wednesday, June 6, 2012 at 11:47 PM, Inder Pall wrote: > > > looks like osx terminal app is the culprit. > > w.r.t - > > this<http://const-cast.blogspot.in/2009/04/mercurial-on-mac-os-x-valueerror.html%20>and > > Notes > > on UTF & Locale <http://www.madboa.com/geek/utf8/> setting the following > > env variables seems to resolve the issue. > > > > export LANG=en_US.UTF-8 > > export LC_ALL=en_US.UTF-8 > > > > I am hitting this on OSX. Should this go in dev FAQ? > > > > Thanks, > > - Inder > > > > On Thu, Jun 7, 2012 at 12:01 PM, Inder Pall <[email protected] > > (mailto:[email protected])> wrote: > > > > > Hi Arvind, > > > > > > that doesn't seem to be helping. Error is in generating docs..looks like a > > > python script being invoked using jython > > > File > > > "/Users/inderbir.singh/.m2/repository/org/python/jython-standalone/2.5.2/jython-standalone-2.5.2.jar/Lib/locale.py", > > > line 375, in _parse_localename > > > ValueError: unknown locale: UTF-8 > > > > > > Will try see if i can find anything. > > > > > > Thanks, > > > - Inder > > > > > > > > > > > > On Thu, Jun 7, 2012 at 11:43 AM, Arvind Prabhakar <[email protected] > > > (mailto:[email protected])>wrote: > > > > > > > Hi Inder, > > > > > > > > Try setting the MAVEN_OPTS so that the perm space is set to 128m. For > > > > example: > > > > > > > > $ export MAVEN_OPTS=-XX:MaxPermSize=128m > > > > > > > > Thanks, > > > > Arvind Prabhakar > > > > > > > > On Wed, Jun 6, 2012 at 11:06 PM, Inder Pall <[email protected] > > > > (mailto:[email protected])> wrote: > > > > > > > > > Folks, > > > > > > > > > > i did a fresh svn co and hitting build failure related to > > > > > documentation > > > > > generation. > > > > > Exception Details - http://pastebin.com/c1STnMaJ > > > > > > > > > > Anything obvious i am missing? > > > > > > > > > > -- > > > > > Thanks, > > > > > - Inder > > > > > Tech Platforms @Inmobi > > > > > Linkedin - http://goo.gl/eR4Ub > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > Thanks, > > > - Inder > > > Tech Platforms @Inmobi > > > Linkedin - http://goo.gl/eR4Ub > > > > > > > > > > > > > -- > > Thanks, > > - Inder > > Tech Platforms @Inmobi > > Linkedin - http://goo.gl/eR4Ub > > > > > > > >
