Windows: Fix cover loading with non-utf8 locales (bug 1124)
commit231c31c49f65e5cf6cbb65d7f473838e1f24a702
authorThomas Perl <thp@thpinfo.com>
Mon, 23 Aug 2010 20:52:34 +0000 (23 22:52 +0200)
committerThomas Perl <thp@thpinfo.com>
Mon, 23 Aug 2010 20:52:34 +0000 (23 22:52 +0200)
tree5e3dc8baf39a0a0139299e95da513f07b2c87958
parentb50ee225d0c71c7fec25b4c028c7b31bdd0e5c67
Windows: Fix cover loading with non-utf8 locales (bug 1124)

Sanitize the filename encoding of the cover
file, so that on Windows systems with non-utf8
locales, the filename is correctly submitted.

Thanks to Vladimir Voroshilov for the initial patch.
src/gpodder/gtkui/services.py