簡體中文編碼對應器---建議加入精華區(qū)供大家也許備用
發(fā)表時間:2024-01-19 來源:明輝站整理相關軟件相關文章人氣:
[摘要]<% DIM FirstCHR,LastCHR,K,I,JFirstCHR = Request("FirstCHR") 'FirstCHR="45217" '定義起始值LastCHR = Requ...
<% DIM FirstCHR,LastCHR,K,I,J
FirstCHR = Request("FirstCHR") 'FirstCHR="45217" '定義起始值
LastCHR = Request("LastCHR") 'LastCHR="62289" '定義終結值
HttpAddress = Request.ServerVariables("url") '不要動
Sub MakeChineseWord()
Response.write "起始值:"&FirstCHR&" "
Response.write "終止值:"&LastCHR&" "
Response.write "差值= "&LastCHR-FirstCHR+1&"<P>"
FOR J = FirstCHR TO LastCHR
RESPONSE.WRITE "<a title='"&J&"'>"&CHR(J)&"</a> "
k = k+1
if (J mod 20) = 0 then
RESPONSE.WRITE "(最后為"&J&")<p>"
end if
NEXT
RESPONSE.WRITE "<p>共有:"& K &"中文字<br>"
End Sub
%>
<form action="<%=HttpAddress%>" method="post">
<select name="FirstCHR">
<option value="" SELECTED>選擇起始值</option>
<%For I = 1 to 72
Response.write "<option value="&(45217+K1)&">"&(45217+K1)&"-"&I&"</option>"
K1 = K1 + 256
Next%>
</select>
<select name="LastCHR">
<option value="" SELECTED>選擇起始值</option>
<%For I = 1 to 72
Response.write "<option value="&(45310+K2)&">"&(45310+K2)&"-"&I&"</option>"
K2 = K2 + 256
Next%>
</select>
<input type="submit" value="確定">
</form>
<%
if FirstCHR <> "" and LastCHR <> "" then
Call MakeChineseWord()
end if
%>