mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
...
This commit is contained in:
parent
4bab14f53a
commit
dc655ac435
@ -32,7 +32,8 @@ try:
|
||||
_icu.set_default_encoding('utf-8')
|
||||
del senc
|
||||
except:
|
||||
pass
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
try:
|
||||
fenc = sys.getfilesystemencoding()
|
||||
@ -40,7 +41,8 @@ try:
|
||||
_icu.set_filesystem_encoding('utf-8')
|
||||
del fenc
|
||||
except:
|
||||
pass
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
|
||||
def collator():
|
||||
global _collator, _locale
|
||||
|
Loading…
x
Reference in New Issue
Block a user