WAP Chinese display

xiaoxiao2021-03-06  20

Well, because some mobile phones do not support GB2312, UTF-8 is used in the program, and one SCRIPT is converted.

<%

Function UNI (Chinese)

For i = 1 to len (Chinese)

A = MID (Chinese, i, 1)

UNI = UNI & "& # x" & hex (ASCW (A)) & ";"

NEXT

END FUNCTION

%>

Now consider converting some Chinese directly to the program to switch, just don't know if it is improved, huh, huh.

转载请注明原文地址:https://www.9cbs.com/read-44298.html

New Post(0)