Home >Web Front-end >JS Tutorial >JavaScript unicode and GBK2312 (Chinese) encoding conversion method_Basic knowledge
document.write(' Convert Chinese characters to Unicode code: 'unicode '
');
document.write('Convert Unicode code to Chinese characters:' GB2312UnicodeConverter.ToGB2312(unicode));