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

can not run a python file by click the "run(shift+ctrl+f9)" button #585

Closed
GoogleCodeExporter opened this issue Aug 24, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. open a python file 
2. write some python contents, such as "print 111'
3.  click the green button of "run" on the top
4. Error dialog pops up show "UnicodeEncodeError: 'ascii' codec can't encode 
characters in position 32-33: ordinal not in range(128)"

What is the expected output? What do you see instead?
the file should be run and output 111

What version of the product are you using? On what operating system?
2.4.3

Please provide any additional information below.
windows XP, python 2.7 enviroment.

Addition:
Please tell me how can i get a english version of pyscripter,since some chinese 
characters can not display normal in my machine

Original issue reported on code.google.com by wanjing...@gmail.com on 11 Dec 2011 at 3:12

@GoogleCodeExporter
Copy link
Author

See solution in Issue 427.  Modifying the site.py should work.  Otherwise avoid 
placing Python files in directories containing non-Ascii characters.

Original comment by pyscripter on 11 Dec 2011 at 7:06

  • Changed state: Duplicate

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