diff options
Diffstat (limited to 'test/run-spec-wasm2c.py')
-rwxr-xr-x | test/run-spec-wasm2c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run-spec-wasm2c.py b/test/run-spec-wasm2c.py index 741722f9..c941d57e 100755 --- a/test/run-spec-wasm2c.py +++ b/test/run-spec-wasm2c.py @@ -95,7 +95,7 @@ def MangleTypes(types): def MangleName(s): result = 'Z_' - for c in s: + for c in s.encode('utf-8'): # NOTE(binji): Z is not allowed. if c in '_abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXY0123456789': result += c |