浅谈JavaScript中的字符编码转换问题 要获得字符的Unicode编码,可以使用string charCodeAt(index)方法,其定义为: strObj charCodeAt(index) JavaScript 2022-04-08 248 点赞 3 评论 375 浏览