mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
61e13950a3
commit
9aef5216e5
@ -57,7 +57,7 @@ else:
|
|||||||
# On linux, unicode arguments to os file functions are coerced to an ascii
|
# On linux, unicode arguments to os file functions are coerced to an ascii
|
||||||
# bytestring if sys.getfilesystemencoding() == 'ascii', which is
|
# bytestring if sys.getfilesystemencoding() == 'ascii', which is
|
||||||
# just plain dumb. So issue a warning.
|
# just plain dumb. So issue a warning.
|
||||||
print ('WARNING: You do not have the LANG environment variable set. '
|
print ('WARNING: You do not have the LANG environment variable set correctly. '
|
||||||
'This will cause problems with non-ascii filenames. '
|
'This will cause problems with non-ascii filenames. '
|
||||||
'Set it to something like en_US.UTF-8.\n')
|
'Set it to something like en_US.UTF-8.\n')
|
||||||
except:
|
except:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user