Re: Chinese charactersin logfile
WinSCP uses your Windows UI language by default.
If you want to change this, use
https://winscp.net/eng/docs/rawconfig
If you want to change this, use
Interface\LocaleSafe
raw configuration option:
https://winscp.net/eng/docs/rawconfig
$session.AddRawConfiguration("Interface\LocaleSafe", "1033")