This commit is contained in:
Kovid Goyal 2012-09-10 09:26:34 +05:30
parent 61e13950a3
commit 9aef5216e5

View File

@ -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: