more debug information for system encoding

This commit is contained in:
Martin Konecny 2012-05-10 11:16:51 -04:00
parent f9bbdb1f33
commit a7a3da85c3
1 changed files with 1 additions and 0 deletions

View File

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