unicode转换中文
<!doctype html>
<html lang="en">
<head>
<meta http-equiv="Refresh" content="3;url=http://www.cnblogs.com/double405" charset="utf-8">
<meta name="Generator" content="EditPlus®">
<meta name="Author" content="">
<meta name="Keywords" content="">
<meta name="Description" content="">
<title>Document</title>
<script type="text/javascript">
var str = "\u524D\u7AEF\u7801\u519C\u3002";
document.write(unescape(str).replace(/\\u/g,'%u')); //前端码农。
var str1 = "前端码农。";
document.write(escape(str1).replace(/\%u/g,'\\u'));
</script>
</head>
<body>
</body>
</html>