[Bug] UnicodeDecodeError when give to bzr option flag with non-ascii characters

Robert Collins robertc at robertcollins.net
Mon Aug 21 02:25:30 BST 2006


On Sat, 2006-08-19 at 11:34 +0300, Alexander Belchenko wrote:
> Non-ascii (russian) letters in option names cause bzr to unicode error:
> 
> $ bzr --Тест
> bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode 
> characters in position 2-5: ordinal not in range(128)
> 
> Traceback (most recent call last):
>    File "E:\Bazaar\devel\bzr.dev\bzrlib\commands.py", line 606, in 
> run_bzr_catch_errors
>      return run_bzr(argv)
>    File "E:\Bazaar\devel\bzr.dev\bzrlib\commands.py", line 552, in run_bzr
>      cmd = str(argv.pop(0))
> UnicodeEncodeError: 'ascii' codec can't encode characters in position 
> 2-5: ordinal not in range(128)
> 
> bzr 0.10.0dev0 on python 2.4.3.final.0 (win32)
> arguments: ['c:\\utils\\bzr.py', '--\xd2\xe5\xf1\xf2']
> 
> ** please send this report to bazaar-ng at lists.ubuntu.com

Is this a regression from 0.9 ?

-Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060821/d7221ce5/attachment.pgp 


More information about the bazaar mailing list