逐梦论坛's Archiver

398829134 发表于 2007-12-1 15:57

中文如何成转换16进制

private sub form_load()
    dim b() as byte, i as long, s as string
    me.autoredraw = true
    s = "我爱vb"
    b = strconv(s, vbfromunicode)
    for i = 0 to ubound(b)
        print hex(b(i)); " ";
    next
end sub

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.