bzr & German umlauts
Michael Kaiser
kaiser at odelelli.de
Thu Mar 22 17:28:35 GMT 2007
Hi,
every time I comment my commit and this comment contains German umlauts,
bzr breaks:
topicdev at copperblue:~/repos/lib$ bzr commit
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode
byte 0xc3 in position 31: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 611,
in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 573,
in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 282,
in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line
1777, in run
message = edit_commit_message(template)
File "/usr/lib/python2.4/site-packages/bzrlib/msgeditor.py", line
114, in edit_commit_message
for line in codecs.open(msgfilename, 'r', bzrlib.user_encoding):
File "codecs.py", line 494, in next
return self.reader.next()
File "codecs.py", line 431, in next
line = self.readline()
File "codecs.py", line 346, in readline
data = self.read(readsize, firstline=True)
File "codecs.py", line 293, in read
newchars, decodedbytes = self.decode(data, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 31:
ordinal not in range(128)
bzr 0.11.0 on python 2.4.4.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'commit']
** please send this report to bazaar-ng at lists.ubuntu.com
More information about the bazaar
mailing list