你正在訪問的內容是外部程式的映像位址,僅用於使用者加速訪問,本站無法保證其可靠性。當前的連結位址(單點即可複製)為 https://greasyfork.org.cn/zh-CN/scripts/450973-gb2312utf8,源站連結 點此以跳轉

GB2312UTF8

utf-8 and gb2312 converter

此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.org.cn/scripts/450973/1091107/GB2312UTF8.js

作者
Theron
版本
1.0
创建于
2022-09-08
更新于
2022-09-08
大小
4.0 KB
许可证
copyright http://freecode-freecode.blogspot.com/2008/11/how-to-gbkgb2312-and-utf-8-encoding.html, mod by https://gist.github.com/19317362/a1d8e40bfb6587463d4d

How to GBK(GB2312) and UTF-8 encoding conversion between in JavaScript

following js code show to how to convert text between Simplified Chinese GB 2312 text strings into UTF8 using JavaScript.

Posted in http://freecode-freecode.blogspot.com/2008/11/how-to-gbkgb2312-and-utf-8-encoding.html, mod by https://gist.github.com/19317362/a1d8e40bfb6587463d4d