mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-20 14:14:46 +01:00
...
This commit is contained in:
parent
4bab14f53a
commit
dc655ac435
1 changed files with 4 additions and 2 deletions
|
|
@ -32,7 +32,8 @@
|
|||
_icu.set_default_encoding('utf-8')
|
||||
del senc
|
||||
except:
|
||||
pass
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
try:
|
||||
fenc = sys.getfilesystemencoding()
|
||||
|
|
@ -40,7 +41,8 @@
|
|||
_icu.set_filesystem_encoding('utf-8')
|
||||
del fenc
|
||||
except:
|
||||
pass
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
def collator():
|
||||
global _collator, _locale
|
||||
|
|
|
|||
Loading…
Reference in a new issue