Skip to Content
Former Member
Mar 16, 2007 at 02:19 AM

how to transfer file by byte length in unicode system



I want to transfer a fields length 4 to a file which will be used by non-unicode system.

And because of unicode ,if this field includes 2-byte characters, when i get this field , it display "中国中国"(it is 4 length in unicode system and 8 length in non-unicode), but user need get the field "中国"

Is there some convert function or setting some parameter can control or get it?