纯python环境下big5 uao编解码器

uao的Python项目详细描述


https://travis-ci.org/eight04/pyUAO.svg?branch=master

纯python中的big5 uao表。

純python puso(unicode at on)编码器/解码器。

安装

pip install uao

用法

fromuaoimportregister_uaoregister_uao()# register big5-uao as a builtin codecsprint("无法被Big5編碼の字串♥".encode("big5-uao").decode("big5-uao"))

或者使用独立的Big5UAOCodec类:

fromuaoimportBig5UAOCodecuao=Big5UAOCodec()print(uao.decode(uao.encode("无法被Big5編碼の字串♥")))

更改日志

  • 0.1.1(2018年6月11日)
    • 修正:删除打印语句。
  • 0.1.0(2018年6月11日)
    • 第一次释放。

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java在ArrayList中比较数字   java在Kotlin中使异步调用同步   让“Scala编程”junit示例在IntelliJ中工作的java问题   java Servlet侦听器未在ContextListener中设置属性   将Microsoft SQL Server数据库连接到我的Java项目   加载资源时出现java“需要注册工厂”异常   java如何使用POI检查excel中的重复记录?   java如何更改机器生成的代码   java如何确保重写的方法是同步的   用Spring编写Hibernate时的java XML奥秘   java管理mysql数据库中存储的用户权限   java如何运行。来自Javascript的jar方法   java我想在Web应用程序中进行身份验证&对桌面应用程序使用相同的凭据。我该怎么做?