Skip to content

Commit 82f131e

Browse files
committed
Fix issue #1: Control characters should not be escaped.
1 parent 5c8a14f commit 82f131e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JavaPropertiesEditor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def on_load(self, view):
5656
return
5757
regions = sublime.Region(0, view.size())
5858
orignal_contents = view.substr(regions)
59-
contents = orignal_contents.encode('iso-8859-1', 'replace').decode('unicode_escape')
59+
contents = orignal_contents.encode('iso-8859-1', 'replace').decode('raw_unicode_escape')
6060
if contents == orignal_contents:
6161
return
6262
if IS_UPPER.search(orignal_contents) == None:

0 commit comments

Comments
 (0)