摘要:
``` js // 中文 转 unicode function chinese_to_unicode(ch,is16 = false) { let num_ten = ch.charCodeAt(ch); if(is16){ return '0x' + num_ten.toString(16); }else{ return num_ten.toString(); } } // unicode 转 阅读全文
posted @ 2019-10-21 16:20
Dai Hanlong
阅读(239)
评论(0)
推荐(0)

浙公网安备 33010602011771号