UNICODE2GBK a JavaScript function convert utf-8 to GBK in URL form usage: unicode2gbk(str) return url in GBK(or GB2312), need Array UNICODE2GBK UNICODE2GBK : a code table is used to transform. reference: https://github.com/winlibs/libiconv/ https://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.15.tar.gz