V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
breakaway
V2EX  ›  Python

Sublime Text 2结果输出控制台自身不能显示字符串的编码,导致字符串输出错误。

  •  
  •   breakaway ·
    sparkxxf · Apr 20, 2012 · 5735 views
    This topic created in 5131 days ago, the information mentioned may be changed or developed.
    UnicodeEncodeError: 'ascii' codec can't encode character u'\u6298' in position 3: ordinal not in range(128)

    Windows 7、Python、UTF-8

    其实程序本身是没有问题的。这算软件的Bug么?
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   947 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:20 · PVG 05:20 · LAX 14:20 · JFK 17:20
    ♥ Do have faith in what you're doing.