atom-community / atom-community/atom-script

support for Chinese Language and comments

Open
#650 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

When I run the python script in atom found that "Script" package will show mess code if I input some Chinese. After error , I remove all comments,then the program runs good!

mess code:
ϵͳ�Ҳ���ָ����·����
[Finished in 0.069s]
python script coding:utf-8
env: windows 8.1
## test code:
# !/usr/bin/env python
# coding:utf-8
# p98 5-6 cal a*b or a+b or a-b or a/b or a%b
# 计算表达式

cal=input("Input the math expression:")
## print("result=%f" %cal)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.