保存之后还是unicode:<br>var<br> fh:integer;<br> ws:WideString;<br>fh:=_lcreat('文件名',0);<br>_lwrite(fh,Pchar(PWideChar(ws)),Length(ws)*2);<br>_lclose(fh);<br>----------------------------------------------------------------------<br>保存之后变ansi:<br>var<br> fh:integer;<br> ws:WideString;<br> s:string;<br>fh:=_lcreat('文件名',0);<br>s:=ws;<br>_lwrite(fh,Pchar(s),Length(s));<br>_lclose(fh);<br><br>