UnicodeEncodeError in add_action_print with non ascii files names

Nir Soffer nirs at freeshell.org
Sat Feb 4 22:27:44 GMT 2006


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




More information about the bazaar mailing list