When a directory or file containing unicode characters in the name is loaded by Picard with debug logging on, then the following error is issued:
Traceback (most recent call last): File ".\picard\tagger.py", line 315, in event event.run() File ".\picard\util\thread.py", line 34, in run self.func(*self.args, **self.kwargs) File ".\picard\log.py", line 116, in _stderr_receiver sys.stderr.write(formatted_log_line(level, time, msg + os.linesep)) File "C:\Program Files (x86)\Python2\lib\encodings\cp850.py", line 12, in encode return codecs.charmap_encode(input,errors,encoding_map) UnicodeEncodeError: 'charmap' codec can't encode character u'\u2010' in position 77: character maps to <undefined>
This is due to the log.debug statements using %s placeholder instead of %r.