V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
Hackathon
V2EX  ›  Python

不时碰到编码转换相关的问题,撸了个编码转换相关的 https://pypi.python.org/pypi/CodeConvert

  •  
  •   Hackathon · 2014-08-30 19:25:11 +08:00 · 3128 次点击
    这是一个创建于 3538 天前的主题,其中的信息可能已经有所发展或是发生改变。
    CodeConvert 是对涉及到中文编码时常用的编码类型(gbk、utf8、unicode),以及这些编码的混合、变形,转换为 Utf8/Unicode 编码的一个封装,支持基本字符串(str/unicode)、元组、列表、字典、集合。

    https://pypi.python.org/pypi/CodeConvert

    欢迎大家试用拍砖。
    3 条回复    2014-08-30 22:14:23 +08:00
    ChanneW
        1
    ChanneW  
       2014-08-30 21:52:51 +08:00
    built for human beings.
    ChanneW
        2
    ChanneW  
       2014-08-30 21:56:15 +08:00
    1. 就这四个函数么? 经常在cmd下碰到显示乱码这个不实现么?
    2. python3 支持怎么样.
    ksc010
        3
    ksc010  
       2014-08-30 22:14:23 +08:00
    今天就遇到 python在cmd下输出韩文报错的问题
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5714 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 05:58 · PVG 13:58 · LAX 22:58 · JFK 01:58
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.