向 向左走向右走的童话 Unregistered / Unconfirmed GUEST, unregistred user! 2006-11-30 #1 如题,用fileread或者tstringlist.loadfromfile读出来后都是乱码!如何处理?
M Milpas Unregistered / Unconfirmed GUEST, unregistred user! 2006-11-30 #2 var s: string; ws: widestring; begin assignfile(f, ...); read(f,s); ws := s; showmessage(ws); ... 其实就是两个字节,英文字符前面补#00,手工处理都可以
var s: string; ws: widestring; begin assignfile(f, ...); read(f,s); ws := s; showmessage(ws); ... 其实就是两个字节,英文字符前面补#00,手工处理都可以