关闭

HTML 编码打印中文日期字符 By Stabx

1026人阅读 评论(0) 收藏 举报
标题: HTML 编码打印中文日期字符 By Stabx

正文:

QUOTE:

HTML 编码打印中文日期字符 By Stabx

这是 HTML 编码, 疯, 对编码是走火入魔了, 看到编码就联想到 ASCII 编码.

附: ASP 代码.

shawl.qiu
2006-6-3

  • / ㍘
  • / ㍙
  • / ㍚
  • / ㍛
  • / ㍜
  • / ㍝
  • / ㍞
  • / ㍟
  • / ㍠
  • / ㍡
  • / ㍢
  • / ㍣
  • / ㍤
  • / ㍥
  • / ㍦
  • / ㍧
  • / ㍨
  • / ㍩
  • / ㍪
  • / ㍫
  • / ㍬
  • / ㍭
  • / ㍮
  • / ㍯
  • / ㍰
  • / ㏠
  • / ㏡
  • / ㏢
  • / ㏣
  • / ㏤
  • / ㏥
  • / ㏦
  • / ㏧
  • / ㏨
  • / ㏩
  • / ㏪
  • / ㏫
  • / ㏬
  • / ㏭
  • / ㏮
  • / ㏯
  • / ㏰
  • / ㏱
  • / ㏲
  • / ㏳
  • / ㏴
  • / ㏵
  • / ㏶
  • / ㏷
  • / ㏸
  • / ㏹
  • / ㏺
  • / ㏻
  • / ㏼
  • / ㏽
  • / ㏾
  • / ㋀
  • / ㋁
  • / ㋂
  • / ㋃
  • / ㋄
  • / ㋅
  • / ㋆
  • / ㋇
  • / ㋈
  • / ㋉
  • / ㋊
  • / ㋋
  • / ㈠
  • / ㈡
  • / ㈢
  • / ㈣
  • / ㈤
  • / ㈥
  • / ㈦
  • / ㈧
  • / ㈨
  • / ㈩
  • / ㈪
  • / ㈫
  • / ㈬
  • / ㈭
  • / ㈮
  • / ㈯
  • / ㈰

  • / ㊀
  • / ㊁
  • / ㊂
  • / ㊃
  • / ㊄
  • / ㊅
  • / ㊆
  • / ㊇
  • / ㊈
  • / ㊉
  • / ㊊
  • / ㊋
  • / ㊌
  • / ㊍
  • / ㊎
  • / ㊏
  • / ㊐
     

 

CODE:
打印以上格式的代码:

<style type="text/css">
/*<![CDATA[*/ 
      li.float{ 
         width:14%;
         float:left;
         text-align:left;
         }
     b.color {
         font-size:20px;
         color:#FF0099;
         }
     ul {
         clear:left;
         }
  /*]]>*/
</style>
<% 
         response.write "<ul>"
     for i=13144 to 13168 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
        
         response.write "<ul>"
     for i=13280 to 13310 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
        
         response.write "<ul>"
     for i=12992 to 13003 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
        
         response.write "<ul>"
     for i=12832 to 12848 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
        
         response.write "<br clear=""left"" /><ul>"
     for i=12928 to 12944 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
%>

 

CODE:
打印所有 HTML 编码.
警告: 机器不是高端性能, 最好分段显示.

<style type="text/css">
/*<![CDATA[*/ 
li.float{ 
     width:14%;
     float:left;
     text-align:left;
     }
b.color {
     font-size:20px;
     color:#FF0099;
     }
ul {
     clear:left;
     }
  /*]]>*/
</style>
<% 
         response.write "<ul>"
     for i=0000 to 16383 
     'for i=1 to 5000 
     'for i=5001 to 10000 
     'for i=10001 to 16383 
         response.write "<li class=""float""><b class=""color"">&#"
         response.write i
         response.write ";</b> / &amp;&#35;"
         response.write i
         response.write ";</li>"
     next
         response.write "</ul>"
%>
0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场