bzr: warning: unsupported locale setting on Mac OS X
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
After upgrading to 1.12 I get the following warning running any bzr command
I'm running bzr on mac osx 10.5.6
$ bzr --version
bzr: warning: unsupported locale setting
bzr could not set the application locale.
Although this should be no problem for bzr itself,
it might cause problems with some plugins.
To investigate the issue, look at the output
of the locale(1p) tool available on POSIX systems.
bzr: warning: unsupported locale setting
Could not determine what text encoding to use.
This error usually means your Python interpreter
doesn't support the locale set by $LANG (en_GB.UTF-8)
Continuing with ascii encoding.
Bazaar (bzr) 1.12
Python interpreter: /System/
Python standard library: /System/
bzrlib: /Library/
Bazaar configuration: /Users/scol/.bazaar
Bazaar log file: /Users/
The output of locale is as follows:
$ locale
LANG="en_GB.UTF-8"
LC_COLLATE="C"
LC_CTYPE="C"
LC_MESSAGES="C"
LC_MONETARY="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_ALL=
If I run export LANG=
The error messages disappear when running bzr commands again.
bzr log output for these commands are as follows:
Sat 2009-03-07 11:38:25 +0000
0.101 bzr arguments: [u'--version']
0.114 encoding stdout as sys.stdout encoding 'US-ASCII'
0.221 return code 0
Sat 2009-03-07 11:39:38 +0000
0.107 bzr arguments: [u'--version']
0.120 encoding stdout as sys.stdout encoding 'US-ASCII'
0.227 return code 0
tags: | added: check-for-breezy |
Seems this is fixed by:
export LC_ALL=C