more debug information for system encoding
This commit is contained in:
parent
f9bbdb1f33
commit
a7a3da85c3
|
@ -49,6 +49,7 @@ def configure_locale():
|
|||
|
||||
|
||||
current_locale_encoding = locale.getlocale()[1].lower()
|
||||
logger.debug("sys default encoding %s", sys.getdefaultencoding())
|
||||
logger.debug("After %s", locale.nl_langinfo(locale.CODESET))
|
||||
|
||||
if current_locale_encoding not in ['utf-8', 'utf8']:
|
||||
|
|
Loading…
Reference in New Issue