Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

drop unicode support

  • Loading branch information...
commit f9a46fea8314e2229c346124c0a0d59a19ed5620 1 parent 340e8e4
@sunng87 authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  clj.py
  2. +1 −1  tests/clj-test.py
View
2  clj.py
@@ -173,7 +173,7 @@ def __read_token(self):
c = fd.read(1)
e = c
#v = u''.join(buf).decode('unicode-escape')
- v = u''.join(buf).encode("utf-8").decode('string-escape').decode('utf-8')
+ v = ''.join(buf).decode('string-escape')
else:
r = False
e = c
View
2  tests/clj-test.py
@@ -15,7 +15,7 @@ def setUp(self):
'"string\n"': 'string\n',
'[:hello]':["hello"],
'-10.4':-10.4,
- u'"你"': u'',
+ '"你"': '',
"[1 2]": [1,2],
"#{true \"hello\" 12}": set([True, "hello", 12]),
"(\\a \\b \\c \\d)": ["a","b","c","d"],

0 comments on commit f9a46fe

Please sign in to comment.
Something went wrong with that request. Please try again.