转码 GB2312
สคริปต์นี้ไม่ควรถูกติดตั้งโดยตรง มันเป็นคลังสำหรับสคริปต์อื่น ๆ เพื่อบรรจุด้วยคำสั่งเมทา // @require https://update.greasyfork.org/scripts/368137/601683/encodeToGb2312.js
This code is from https://github.com/liuxiaodong/encodeToGb2312
You can use like:
var r###lt = encodeToGb2312("字符串转GB2312");
r###lt: D7D6B7FBB4AED7AA474232333132
var r###lt = encodeToGb2312("字符串转GB2312",true);
r###lt: %D7%D6%B7%FB%B4%AE%D7%AA%47%42%32%33%31%32