Topic "option localenc=[o_m|ansi|utf8]"

Author Message
Mercury
[View user's profile]

Joined: 2010-10-14
Posts: 2
Location: Kiev, Ukraine
Let the user change encoding of local paths/files, to let WinScp access any file on local drives in programmatic/scripted mode. Currently the encoding is O_M only.

Sorry, o_m is your black word, but you understand what I mean.
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Thanks for your post. This issue is being tracked already.
Mercury
[View user's profile]

Joined: 2010-10-14
Posts: 2
Location: Kiev, Ukraine
When the application becomes Unicode, console's input/output encoding will remain O_M, won't it? I mean, when some program pokes characters to console using pipe and reads the output dripping from another pipe, will the encoding of those chars still remain O_M?

This option is to treat those chars as UTF-8 or ANSI.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Mercury wrote:
When the application becomes Unicode, console's input/output encoding will remain O_M, won't it?

I do not know yet.
_________________
Martin Prikryl
donmat

Guest


Hi, winscp is a great problem with a powerful scripting interface. I was wondering if you could clarify how I could set the option in a script to support unicode file names (in this case Chinese).

According to this link: http://winscp.net/eng/docs/protocols#sftp
"With FTP protocol this means that UTF-8 will be used when the server announces support for it."

Should I put in this line?
option UTF-8 encoding for filenames on

or this line?
option UTF-8 on

Donny
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
Please read
http://winscp.net/eng/docs/faq_script_ini
_________________
Martin Prikryl
Advertisements

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License