Topic "windows script utf8 unicode filenames"

Author Message
[View user's profile]

Joined: 2004-05-11
Posts: 9
On a Windows system I have PUT <filename> in a script where <filename> contains UTF8 characters. WINSCP returns an error that the file does not exist. I have tried setting the Windows console codepage to 1250 and 65001 and the console font to Lucida, but that makes no difference. How can I pass a filename with UTF8 characters to WINSCP?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24759
Location: Prague, Czechia
If you are using a script file (/script= command-line switch), make sure the script file starts with UTF-8 BOM.

Btw, the next version of WinSCP (5.8) will assume the script file uses UTF-8 by default, even without BOM.

You can post new topics in this forum

Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License