Permalink
Browse files

hook up the new Utf8Encode function

  • Loading branch information...
Andy Chu
Andy Chu committed Jun 5, 2018
1 parent e6cdfa6 commit e2892daf8092b21ce231eb3e7534574f049d5d84
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/word_compile.py
View
@@ -128,7 +128,7 @@ def EvalCStringToken(id_, value):
s = value[2:]
i = int(s, 16)
#util.log('i = %d', i)
return unichr(i).encode('utf-8') # Stay in the realm of bytes
return Utf8Encode(i)
else:
raise AssertionError

0 comments on commit e2892da

Please sign in to comment.