From c334c49592d5ce5c7373dd4b62b070e34a4cf9e9 Mon Sep 17 00:00:00 2001 From: Alex R Date: Sun, 17 Sep 2017 21:32:57 +0300 Subject: [PATCH] Fix for #33 --- functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.py b/functions.py index 4b1b830..d576c43 100644 --- a/functions.py +++ b/functions.py @@ -133,7 +133,7 @@ def get_style(color_scheme): def get_resource(resource): if os.path.exists(os.path.join(sublime.packages_path(), '..', resource)): - with open(os.path.join(sublime.packages_path(), '..', resource)) as fp: + with open(os.path.join(sublime.packages_path(), '..', resource), encoding='utf-8') as fp: return fp.read() else: return sublime.load_resource(resource)