汉字和Unicode编码知识

aaa

<title>汉字和Unicode编码互转</title>
<script Language=Javascript>
var classObj=
{
ToUnicode:function(str) 
{
return escape(str).replace(/%/g,"\\").toLowerCase();
},
UnUnicode:function(str)
{
return unescape(str.replace(/\\/g, "%"));
},
copyingTxt:function(str)
{
document.getElementById(str).select(); 
document.execCommand("Copy"); 
}
}
</script>
<textarea id=codes style="width:500px;height:300px"></textarea><br><br>
<input type=button value=Unicode加密 onclick=javascript:codes.value=classObj.ToUnicode(codes.value)>
<input type=button value=Unicode解密 onclick=javascript:codes.value=classObj.UnUnicode(codes.value)>
<input type=button value=复制文本 onclick=javascript:classObj.copyingTxt("codes")>
<input type=button value=清空内容 onclick=javascript:codes.value="">

 

js 对Unicode是友好的。

var s = '\u4e00';

 

http://blog.jobbole.com/99773/

不能直接使用class,要使用className
style里面要写成一个对象
input单标签要写结束符号
ref相当于一个id
MUDR-009. ZIZG-024

http://www.cnblogs.com/snandy/p/4934944.html
http://www.cnblogs.com/yuanjunliang/articles/5167927.html
http://www.cnblogs.com/jiang-xiao-yan/p/5316815.html


downing
http://ezycracks.com/file/2374659/charles-web-debugging-proxy-v3.11.2-incl.-crack-win-mac-linux/

破解文件
http://www.52bug.cn/?post=603
http://www.52pojie.cn/forum.php?mod=viewthread&tid=452102

Babun 安装配置
http://wiki.jrwang.me/tool/babun.html

posted @ 2016-05-19 11:22  马斯塔  阅读(729)  评论(0编辑  收藏  举报