GBK编码和UTF-8编码交集.docVIP

  1. 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
  2. 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  3. 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
  4. 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
  5. 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们
  6. 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
  7. 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
在处理UTF8--GBK的转换中会遇到一个问题,就是某些GBK字符会与UTF-8中2个字节编码的字符110xxxxx 10yyyyyy产生交集,从而导致这些编码被当成是UTF-8编码处理,进行了转码,从而出现乱码。下面列出了GBK编码和UTF-8编码有交集的情况,其中第二列(如0xc080)表示编码,第一个汉字是这个编码被当成GBK理解时对应的汉字,[]中是编码被当成UTF-8理解时对应的字符。对应的结果为failed的行,表示被理解成UTF-8编码,转成GBK的时候,没有对应GBK编码的情况。Convert 0xc080, 纮 to [] Convert 0xc081, 纴 to [] Convert 0xc082, 纻 to [] Convert 0xc083, 纼 to [] Convert 0xc084, 绖 to [] Convert 0xc085, 绤 to [] Convert 0xc086, 绬 to [] Convert 0xc087, 绹 to [] Convert 0xc088, 缊 to [] Convert 0xc089, 缐 to [ ] Convert 0xc08f, 缽 to [] Convert 0xc090, 缾 to [] Convert 0xc091, 缿 to [] Convert 0xc092, 罀 to [] Convert 0xc093, 罁 to [] Convert 0xc094, 罃 to [] Convert 0xc095, 罆 to [] Convert 0xc096, 罇 to [] Convert 0xc097, 罈 to [] Convert 0xc098, 罉 to [] Convert 0xc099, 罊 to [] Convert 0xc09a, 罋 to [] Convert 0xc09b, 罌 to [] Convert 0xc09c, 罍 to [] Convert 0xc09d, 罎 to [] Convert 0xc09e, 罏 to [] Convert 0xc09f, 罒 to [] Convert 0xc0a0, 罓 to [ ] Convert 0xc0a1, 馈 to [!] Convert 0xc0a2, 愧 to [] Convert 0xc0a3, 溃 to [#] Convert 0xc0a4, 坤 to [$] Convert 0xc0a5, 昆 to [%] Convert 0xc0a6, 捆 to [] Convert 0xc0a7, 困 to [] Convert 0xc0a8, 括 to [(] Convert 0xc0a9, 扩 to [)] Convert 0xc0aa, 廓 to [*] Convert 0xc0ab, 阔 to [+] Convert 0xc0ac, 垃 to [,] Convert 0xc0ad, 拉 to [-] Convert 0xc0ae, 喇 to [.] Convert 0xc0af, 蜡 to [/] Convert 0xc0b0, 腊 to [0] Convert 0xc0b1, 辣 to [1] Convert 0xc0b2, 啦 to [2] Convert 0xc0b3, 莱 to [3] Convert 0xc0b4, 来 to [4] Convert 0xc0b5, 赖 to [5] Convert 0xc0b6, 蓝 to [6] Convert 0xc0b7, 婪 to [7] Convert 0xc0b8, 栏 to [8] Convert 0xc0b9, 拦 to [9] Convert 0xc0ba, 篮 to [:] Convert 0xc0bb, 阑 to [;] Convert 0xc0bc, 兰 to [] Convert 0xc0bd, 澜 to [=] Convert 0xc0be, 谰 to [] Convert 0xc0bf, 揽 to [?] Convert 0xc180, 羳 to [@] Convert 0xc181, 羴 to [A] Convert 0xc182, 羵 to [B] Convert 0xc183, 羶 to [C] Convert 0xc184, 羷 to [D] Convert 0xc185, 羺 to [E] Convert 0xc186, 羻 to [F] Convert 0xc187, 羾 to [G] Convert 0xc18

文档评论(0)

xina171127 + 关注
实名认证
文档贡献者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档