重庆熊猫 Loading

一个汉字占用多少个字节

在GBK字符编码下,一个汉字占用2个字节。而在UTF-8字符编码下,一个汉字占用3个字节。

posted @ 2022-12-03 09:58  重庆熊猫  阅读(310)  评论(0编辑  收藏  举报