javascript里字符串与Unicode之间的转换

 

Code
alert("a".charCodeAt())  //97

alert(String.fromCharCode(
65,97)) //Aa

 

posted @ 2009-07-21 09:32  db's jim  阅读(138)  评论(0编辑  收藏  举报