• 汉字和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="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

  • 相关阅读:
    Java中的 多线程编程
    Python中的字典详解
    Python中的数据类型
    Python中的字符串操作总结(Python3.6.1版本)
    R语言绘制沈阳地铁线路图
    HIVE中的order by操作
    Hive中order by,sort by,distribute by,cluster by的区别
    HDFS shell命令
    HDFS入门
    Bootstrap_Datatable Ajax请求两次问题的解决
  • 原文地址:https://www.cnblogs.com/masita/p/5508048.html
Copyright © 2020-2023  润新知