Skip to content

Commit

Permalink
Merge pull request #1884 from cb1kenobi/timob-8410
Browse files Browse the repository at this point in the history
[TIMOB-8410] Fixed unescape issue with i18n strings.
  • Loading branch information
nebrius committed Mar 29, 2012
2 parents ac3852d + 3549fbe commit 4e136f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/mobileweb/compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ def load_i18n(self, xml_file):
for inner in node.childNodes:
if inner.nodeType == node.TEXT_NODE:
val = val + inner.data
strings[name] = val.strip()
strings[name] = val.encode('utf-8').decode('string-escape').strip()

return strings

Expand Down

0 comments on commit 4e136f1

Please sign in to comment.