摘要:
Delphi中实现全角转半角function SbctoDbc(s:string):string;var nlength,i:integer; str,ctmp,c1,c2:string; {在windows中,中文和全角字符都占两个字节,并且使用了ascii chart 2 (codes 128 - 255 )。全角字符的第一个字节总是被置为163,而第二个字节则是相同半角字符码加上128(不包... 阅读全文
posted @ 2010-01-28 23:06
andy2010
阅读(631)
评论(0)
推荐(0)
浙公网安备 33010602011771号