We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a04469a + 249a05a commit 710a20dCopy full SHA for 710a20d
sopel/__init__.py
@@ -34,7 +34,7 @@
34
]
35
36
loc = locale.getlocale()
37
-if not loc[1] or 'UTF-8' not in loc[1]:
+if not loc[1] or ('UTF-8' not in loc[1] and 'utf8' not in loc[1]):
38
print('WARNING!!! You are running with a non-UTF8 locale environment '
39
'variable (e.g. LC_ALL is set to "C"), which makes Python 3 do '
40
'stupid things. If you get strange errors, please set it to '
0 commit comments