chapter_data_structure/character_encoding/ #66
Replies: 31 comments 29 replies
-
大佬!Fig. UTF-8 编码示例 图中的UTF-8 h和e是不是写反了? |
Beta Was this translation helpful? Give feedback.
-
在3.4.5中,为什么说 UTF-16是等长编码呢,它不是使用2个或者4个字符来表示字符吗~ |
Beta Was this translation helpful? Give feedback.
-
这样说来,python3是处理字符串最高效的? |
Beta Was this translation helpful? Give feedback.
-
说到字符编码,我最痛恨的就是关系型数据库的字符串类型,还需要不停的设置长度,这么多年了,依旧如此! |
Beta Was this translation helpful? Give feedback.
-
感觉还是没太明白为什么 |
Beta Was this translation helpful? Give feedback.
-
提个建议,图片可以加个点击预览放大的功能,有的图内容要素过多,放大预览效果可能更好 |
Beta Was this translation helpful? Give feedback.
-
我听不懂该怎末办 |
Beta Was this translation helpful? Give feedback.
-
上面关于Python 3 的内容貌似有误。借助GPT做了试验: ===== 以下是一些超出BMP范围的汉字示例: 𨊻(U+2A2BB,属于补充平面) 创建一个 Unicode 字符串 导入 chardet 模块查看字符串编码 使用 chardet 模块检测字符串的编码 打印字符串的编码 在 Python 3 中,所有字符串都是 Unicode 字符串,默认编码是 UTF-8。 以上是Bart的输出结果,可再查证确认。 |
Beta Was this translation helpful? Give feedback.
-
那c++是用什么编码呢,顺便想问一下现在用c++的人很少了吗,因为现在不知道主学什么语言😢 |
Beta Was this translation helpful? Give feedback.
-
一直被这些编码困惑,零星地搜索材料也是一知半解,没想到作者这么系统又简洁地解释!这种风格让我联想起了Golang的风格 |
Beta Was this translation helpful? Give feedback.
-
一直有个疑问,为什么vscode使用utf-8编码写c/cpp的代码中出现中文就会乱码,但是用gbk编码就不会 |
Beta Was this translation helpful? Give feedback.
-
最常见的莫过于 |
Beta Was this translation helpful? Give feedback.
-
建议搞个pwa,可以安装到桌面 |
Beta Was this translation helpful? Give feedback.
-
很少给别人写评论,但这一章确实惊艳到我了,非常非常详细,真的是意外惊喜 |
Beta Was this translation helpful? Give feedback.
-
按前面描述,UTF-16应该是属于变长编码? |
Beta Was this translation helpful? Give feedback.
-
图3.8那里的“算”和“法”位啥变成三个字节表示了呀,没搞明白呢😂 |
Beta Was this translation helpful? Give feedback.
-
使用某种编程语言写代码时,IDE中看得见的代码字符按照UTF-8编码后被存储在硬盘中; |
Beta Was this translation helpful? Give feedback.
-
But why not use a specific character to represent the coding length of the following characters? When there are few alterations, I think it may be a better solution. |
Beta Was this translation helpful? Give feedback.
-
说实话编程语言的字符编码这个...以前从来没有了解过,真是学艺不精了。 |
Beta Was this translation helpful? Give feedback.
-
确实写的很详细,大概搞懂了各种编码了 |
Beta Was this translation helpful? Give feedback.
-
学计算机两年了,终于搞懂了。我很少称赞别人,这章真是惊艳到我了,简洁明了,逻辑清晰👍 |
Beta Was this translation helpful? Give feedback.
-
文中提到的“代理对”是什么呀?🤔 |
Beta Was this translation helpful? Give feedback.
-
编码这一篇写的很清晰,大有收获😋 |
Beta Was this translation helpful? Give feedback.
-
为什么 UTF-8表示中文用3个字节,UTF-16只用2个字节。既然2个字节够用,为什么要用三个字节? |
Beta Was this translation helpful? Give feedback.
-
这一章讲得太清楚了,真很值得一看 |
Beta Was this translation helpful? Give feedback.
-
the best articles of coding |
Beta Was this translation helpful? Give feedback.
-
他奶奶的孙子的!好乱!脑子疼要长脑子了! |
Beta Was this translation helpful? Give feedback.
-
chapter_data_structure/character_encoding/
一本动画图解、能运行、可提问的数据结构与算法入门书
https://www.hello-algo.com/chapter_data_structure/character_encoding/
Beta Was this translation helpful? Give feedback.
All reactions