Problem checking out files with non ascii characters
Alexander Belchenko
bialix at ukr.net
Sat Jul 4 10:48:28 BST 2009
Aníbal Rojas пишет:
> Alexander,
>
> Thanks for you response. The is no .bzr.log (at leats I can¿t find
> it) but I suppose you are asking for:
>
> bzr checkout --lightweight file:///foo/bar/repo /foor/bar/target
> stdin: is not a tty
> bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode
> character u'\xf3' in position 124: ordinal not in range(128)
> Traceback (most recent call last):
...
> File "/home/gprotec/lib/python/bzrlib/transform.py", line 1099, in create_file
> f = open(name, 'wb')
> UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in
> position 124: ordinal not in range(128)
> bzr 1.16.1 on python 2.4.3 (linux2)
> arguments: ['/home/gprotec/bin/bzr', 'checkout', '--lightweight',
> 'file:///home/gprotec/repos/banmujer/',
> '/home/gprotec/apps/banmujer-dev/releases/20090703141230']
> encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
You're running system with strict ASCII encoding of filesystem. bzr don't know how to create unicode
filename for you. Perhaps you need set the LANG to something like en_US.utf8 -- sorry, I'm not Linux
user, I don't know how to make this settings right.
More information about the bazaar
mailing list