GB2312UTF8

utf-8 and gb2312 converter

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greasyfork.org/scripts/450973/1091107/GB2312UTF8.js

Author
Theron
Version
1.0
Created
2022-09-08
Updated
2022-09-08
License
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