UnicodeEncodeError in add_action_print with non ascii files names

Nir Soffer nirs at freeshell.org
Sat Feb 4 22:31:53 GMT 2006


And here is the same errror in another place in the code:

$ bzr add Help/\327\247\327\250\327\220\ 
\327\220\327\225\327\252\327\231.*
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode 
byte 0xd7 in position 5: ordinal not in range(128)
   at /opt/local/lib/python2.4/site-packages/bzrlib/commands.py line 484
   in run_bzr


This problem prevent me to use bzr for this project.


On 5 Feb, 2006, at 0:27, Nir Soffer wrote:

> If you try to add an Hebrew file name, you get a traceback in bzr add:
>
> bzr add .
> [sniped lot of added files...]
> added bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't 
> encode characters in position 6-8: ordinal not in range(128)
>   at /opt/local/lib/python2.4/site-packages/bzrlib/add.py line 61
>   in add_action_print
>
> Usually code does not contain non ascii file names, but this file is 
> an Hebrew readme file, and it really matter if it is named קרא אותי or 
> ReadMe, specially for young users.
>
> bzr must support any file name.
>
>
> Best Regards,
>
> Nir Soffer
>
>

Best Regards,

Nir Soffer





More information about the bazaar mailing list