Export to GitHub

zhpy - issue #33

Support Chinese punctuations


Posted on Apr 27, 2014 by Helpful Elephant

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.

Comment #1

Posted on Apr 28, 2014 by Grumpy Bear

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

Status: New

Labels:
Type-Defect Priority-Medium