打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
asp代码---------中文转换成utf
function chinese2unicode(Salon)
dim i
dim Salon_one
dim Salon_unicode
for i=1 to len(Salon)
Salon_one=Mid(Salon,i,1)
Salon_unicode=Salon_unicode&chr(38)
Salon_unicode=Salon_unicode&chr(35)
Salon_unicode=Salon_unicode&chr(120)
Salon_unicode=Salon_unicode& Hex(ascw(Salon_one))
Salon_unicode=Salon_unicode&chr(59)
next
Response.Write Salon_unicode
end function
 
 
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
asp实现关键词获取(各搜索引擎,gb2312及utf-8)
Freebasic基础教程十一:使用afx库有关字符串的函数和类
html解析中遇到的&#开头的unicode编码字符串的处理和转换
ASP代码加密函数
chr(9)、chr(10)、chr(13)、chr(32)、chr(34)
经典的恶作剧程序
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服