字符编码GB2312、GBK、GB18030

转换列表

https://haible.de/bruno/charsets/conversion-tables/sources.html

libiconv(iconv_open、iconv、iconv_close)

https://savannah.gnu.org/projects/libiconv/#devtools

charset

https://haible.de/bruno/charsets/

tools

https://haible.de/bruno/charsets/conversion-tables/tools.html

ubuntu terminal 显示GB18030字符

dpkg-reconfigure locales (选择GB2312、GBK、GB18030)

或 

locale-gen (zh_CN.GB2312|zh_CN.GBK|zh_CN.GB18030)

终端-编辑-配置文件首选项-兼容性-编码,选择GB18030中文。

cat code.txt

猜你喜欢

转载自blog.csdn.net/beebeeyoung/article/details/106976523
今日推荐