diff --git a/kitty/main.py b/kitty/main.py index 5f4c7c959..40d5faafb 100644 --- a/kitty/main.py +++ b/kitty/main.py @@ -3,6 +3,7 @@ # License: GPL v3 Copyright: 2016, Kovid Goyal import argparse +import locale import os import sys import tempfile @@ -30,6 +31,7 @@ from .layout import all_layouts from .shaders import GL_VERSION from .utils import safe_print + defconf = os.path.join(config_dir, 'kitty.conf') @@ -223,6 +225,7 @@ def on_glfw_error(code, msg): def main(): + locale.setlocale(locale.LC_ALL, '') if os.environ.pop('KITTY_LAUNCHED_BY_LAUNCH_SERVICES', None) == '1' and getattr(sys, 'frozen', True): os.chdir(os.path.expanduser('~'))