UnicodeDecodeError exceptions during commit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
During a commit which modified a file with non-ASCII characters in its filename, Bazaar threw UnicodeDecodeErrors (and handled them apparently, since the commit proceeded to completion).
Here's the backtrace for one of those exceptions:
Traceback (most recent call last):
File "/System/
self.
File "/System/
data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 24: ordinal not in range(128)
The filename in question had a µ (micro) character.
This occurred on Mac OS X with Bazaar 1.16.1. Below is my complete environment:
$ printenv
MANPATH=
TERM_PROGRAM=
TERM=xterm-color
SHELL=/bin/bash
CLICOLOR=1
TMPDIR=
Apple_PubSub_
TERM_PROGRAM_
USER=bahamut
COMMAND_
SSH_AUTH_
__CF_USER_
LSCOLORS=
PATH=/opt/
PWD=<redacted path to some bazaar branch>
LANG=en_US.UTF-8
SHLVL=1
HOME=/Volumes/
ITK_PDB=1
LOGNAME=bahamut
PKG_CONFIG_
INFOPATH=
DISPLAY=
GL_ENABLE_
_=/usr/bin/printenv