summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Barbey <=>2014-09-25 17:09:31 +0200
committerNicolas Barbey <=>2014-09-25 17:09:31 +0200
commit1bdf07f66846539a0817321be53ad88acb90f037 (patch)
treead2cb40b5f1f726f98a47295dbe308b2487c5472
parent3058af546292dc6b8fa1bccd9bdbbb29d43dff55 (diff)
downloadcython-1bdf07f66846539a0817321be53ad88acb90f037.tar.gz
Fix unicode handling
--HG-- extra : transplant_source : %E4%89i%BE%1F%A4%29M%B5%3A2vK%8C%3E%93%EF1%A8%83
-rw-r--r--Cython/Plex/Machines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Cython/Plex/Machines.py b/Cython/Plex/Machines.py
index e0c22c43b..50dccbdce 100644
--- a/Cython/Plex/Machines.py
+++ b/Cython/Plex/Machines.py
@@ -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