Unified locale handling.

Added support for importing filenames containig non-latin symbols
This commit is contained in:
grindi
2009-08-12 21:55:19 +04:00
parent 25923b02d1
commit bdfc6ef83f
3 changed files with 14 additions and 18 deletions
+2 -1
View File
@@ -380,8 +380,9 @@ class Importer:
conv = None
(stored, duplicates, partial, errors, ttime) = (0, 0, 0, 0, 0)
file = file.decode(fpdb_simple.LOCALE_ENCODING)
# Load filter, process file, pass returned filename to import_fpdb_file
if self.settings['threads'] > 0 and self.writeq != None:
print "\nConverting " + file + " (" + str(q.qsize()) + ")"
else: