From 82f131ecfa3ac1196e24cbff3410a4a00fc9efc8 Mon Sep 17 00:00:00 2001 From: Sean Liang Date: Tue, 27 Aug 2013 18:47:03 +0800 Subject: [PATCH] Fix issue #1: Control characters should not be escaped. --- JavaPropertiesEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/JavaPropertiesEditor.py b/JavaPropertiesEditor.py index 01133f5..2a3838c 100644 --- a/JavaPropertiesEditor.py +++ b/JavaPropertiesEditor.py @@ -56,7 +56,7 @@ def on_load(self, view): return regions = sublime.Region(0, view.size()) orignal_contents = view.substr(regions) - contents = orignal_contents.encode('iso-8859-1', 'replace').decode('unicode_escape') + contents = orignal_contents.encode('iso-8859-1', 'replace').decode('raw_unicode_escape') if contents == orignal_contents: return if IS_UPPER.search(orignal_contents) == None: