diff options
Diffstat (limited to 'scripts/devtool')
-rwxr-xr-x | scripts/devtool | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/devtool b/scripts/devtool index 0866be9d5f..c9ad9ddb95 100755 --- a/scripts/devtool +++ b/scripts/devtool | |||
@@ -215,6 +215,9 @@ def main(): | |||
215 | global config | 215 | global config |
216 | global context | 216 | global context |
217 | 217 | ||
218 | if sys.getfilesystemencoding() != "utf-8": | ||
219 | sys.exit("Please use a locale setting which supports utf-8.\nPython can't change the filesystem locale after loading so we need a utf-8 when python starts or things won't work.") | ||
220 | |||
218 | context = Context(fixed_setup=False) | 221 | context = Context(fixed_setup=False) |
219 | 222 | ||
220 | # Default basepath | 223 | # Default basepath |