Commit 1bdf07f6 authored by Nicolas Barbey's avatar Nicolas Barbey

Fix unicode handling

--HG--
extra : transplant_source : %E4%89i%BE%1F%A4%29M%B5%3A2vK%8C%3E%93%EF1%A8%83
parent 3058af54
......@@ -178,7 +178,7 @@ class FastMachine(object):
state['else'] = new_state
elif code1 != maxint:
while code0 < code1:
state[chr(code0)] = new_state
state[unichr(code0)] = new_state
code0 = code0 + 1
else:
state[event] = new_state
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment