推荐学习书目
› 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
88
V2EX  ›  Python

Mac Terminal 下中文乱码

  •  
  •   88 · Sep 19, 2014 · 6375 views
    This topic created in 4427 days ago, the information mentioned may be changed or developed.
    安装了 Solarized 主题后,中文就变成了一个一个问号,Preference 里 Text Encoding 为 UTF-8,也不知道问题出在哪里。。。
    8 replies  •  2014-09-27 08:54:40 +08:00
    banbanchs
    banbanchs
    Sep 19, 2014
    1
    字体看看
    skyline75489
    skyline75489
    Sep 19, 2014
    2
    怀疑是字体问题
    xtenng
    xtenng
    Sep 19, 2014
    3
    linux 下有个locale设置
    scorpius
    scorpius
    Sep 19, 2014
    4
    export LANG=zh_CN.utf-8
    88
    88
    OP
    Sep 19, 2014
    5
    @scorpius 谢谢,有用了。但是重启terminal之后又没用了。。。
    Azone
    Azone
    Sep 19, 2014
    6
    @88 写到 ~/.bash_profile 文件里面
    88
    88
    OP
    Sep 20, 2014
    7
    @Azone 写到 .bash_profile 里还是没有用....我之前添加 PATH 时也是这样,写到 .bash_profile 里也没有用。不知道什么原因,好奇怪....
    harryhao
    harryhao
    Sep 27, 2014
    8
    @88 我的也是,最后是把PATH写到 /etc/paths 里……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1383 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 19:49 · PVG 03:49 · LAX 11:49 · JFK 14:49
    ♥ Do have faith in what you're doing.