121

认识字符编码 | 邱振源的博客

 6 years ago
source link: https://qiuzhenyuan.github.io/2017/08/18/%E8%AE%A4%E8%AF%86%E5%AD%97%E7%AC%A6%E7%BC%96%E7%A0%81/?
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
基本概念做Web开发的同学多多少少都会遇到过乱码的问题。字符编码属于计算机领域的基础知识,今天简单地做了一下整理。 我们知道,所有的信息在计算机中,都是以一个二进制数来表示的,每个二进制位有0和1两种状态。当我们把字符串A保存在计算机中,A会被按一定的规则转换成二进制数01000001,然后保存在计算机中,这个转换的过程就叫做编码。当我们要显示字符串时,首先要把二进制数01000001取出来,

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK