Unicode names cause problems

Bug #842236 reported by Jonathan Jacobs
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Renamer
Fix Committed
High
Jonathan Jacobs

Bug Description

There are a number of places that do not properly handle non-ASCII data:

 * The TVRage plugin does not decode page data;
 * The templates (both from plugin defaults and from the command line) are not decoded properly;
 * The logging code assumes ASCII data, passing Unicode data results in an error.

  File "Renamer/trunk/renamer/plugin.py", line 165, in buildDestination
    filename = nameTemplate.safe_substitute(mapping)
  File "/usr/local/lib/python2.7/string.py", line 205, in safe_substitute
    return self.pattern.sub(convert, self.template)
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Related branches

Changed in renamer:
milestone: none → 0.1.0
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Jonathan Jacobs (jjacobs)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.