Skip to content

Commit

Permalink
Fix issue #1: Control characters should not be escaped.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanliang committed Aug 27, 2013
1 parent 5c8a14f commit 82f131e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion JavaPropertiesEditor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 82f131e

Please sign in to comment.