解決 IndyFTp 亂碼問題 10.6.0

在 ftp的FTPOnConnected 事件寫入:this

 

procedure TfrmMain.FTPConnected(Sender: TObject);
begin
  // FTP.DefStringEncoding := IndyTextEncoding(encOSDefault); // xe4  wjs
  FTP.DefStringEncoding := IndyTextEncoding_OSDefault;  // this ok  indy 10.6.0   d7
  StatusBar.Panels[0].Text := '鏈接';
end;事件

相關文章
相關標籤/搜索