gbk、utf-8、unicode

事情起因:昨天下午在实验室写代码
目的:Python语言读取一个json格式文件
然后读了一个下午,没读对。
终于,决定换方法了
等到我快放弃的时候,好吧!!!大神出现了

给我一下几点醒示:

  • 知识是会积累的,任何语言遇到的相同的问题都会有共同的解决办法,关键看你找对了没
  • 没有看官方文档的习惯,学习一个新的东西最重要的就是官方文档,但是我居然没有选择去看,或者说没有重点去看,毕竟隔着语言这种障碍。
  • 其实学习这件事情,越来越容易,随着经验和时间的积累。

GBK is an extension of the GB2312 character set for simplified Chinese characters, used in the People's Republic of China.

UTF-8 is a character encoding capable of encoding all possible Unicode code points. The encoding is defined by the Unicode standard, and was originally designed by Ken Thompson and Rob Pike.

Unicode is a computing industry standard for the consistent encoding, representation, and handling of text expressed in most of the world's writing systems.

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容