Permalink
Browse files

Change to bitwise style

  • Loading branch information...
Andy Chu
Andy Chu committed Jun 5, 2018
1 parent 058352c commit d94e0c5fb740642e74cca16c9240f2de3539d097
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/word_compile.py
View
@@ -58,7 +58,8 @@ def Utf8Encode(code):
bytes_.reverse()
return "".join(chr(b % 256) for b in bytes_)
# mod 256 because Python ints don't wrap around!
return "".join(chr(b & 0xFF) for b in bytes_)
# TODO: Strict mode syntax errors:

0 comments on commit d94e0c5

Please sign in to comment.