Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Chinese punctuations #33

Open
GoogleCodeExporter opened this issue Aug 8, 2015 · 1 comment
Open

Support Chinese punctuations #33

GoogleCodeExporter opened this issue Aug 8, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Switch to Chinese input source
2. Input: 打印 “哈啰 世界!”
3. Compile and run into problem

What is the expected output? What do you see instead?
Traceback (most recent call last):
  File "/base/data/home/apps/zhpy/4.4/shell.py", line 171, in post
    compiled = compile(statement, '<string>', 'single')
  File "<string>", line 1
    print p_201c_54c8_5570_v p_4e16_754c_v!p_201d_v
                                         ^

SyntaxError: invalid syntax

What version of the product are you using? On what operating system?
I'm using the online shell


Please provide any additional information below.
The problem is zhpy does not support Chinese quotation mark. This is acceptable 
but will is not convenient to typing source code.

Original issue reported on code.google.com by [email protected] on 27 Apr 2014 at 10:59

@GoogleCodeExporter
Copy link
Author

zhpy is not maintained, please try blockly 
https://blockly-demo.appspot.com/static/apps/code/index.html?lang=zh-hans

Original comment by gasolin on 28 Apr 2014 at 2:51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant