for i = 1 to li_len
if asc( mid( as_text, i, 1 ) ) < 128 then
ls_pym = ls_pym + mid( as_text, i, 1 )
else
ls_char = mid( as_text, i, 2 )
if ls_char < "吖" or ls_char > "做" then
ls_pym = ls_pym + mid( as_text , i, 2 )
i ++
continue
end if
li_py = 23
do while ls_hz[li_py] > ls_char
li_py --
loop
ls_pym = ls_pym + ls_py[li_py]
i ++
end if
next