Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Chinese file names are not supported

Please post a log file from the "previous" version.
Guest

Re: Chinese file names are not supported

Previous versions, the Chinese filenames can be displayed normally in WinSCP "SCP" protocol.
But 5.18.3 RC, I tried set UTF-8 encoding for filenames option Auto/On/Off, WinSCP still can't display Chinese filenames.
And I turn On/off Control Panel > Clock and Region > Region > Administrative > Language for non-Unicode programs, it's still the same. Pls kindly check again, thanks
martin

Re: Chinese file names are not supported

cjchome wrote:

I use "SCP" protocol login, WinSCP can not supported Chinese file names

From the log:
> 2021-04-22 09:53:40.519 printenv LANG ; echo "WinSCP: this is end-of-file:$?"
! 2021-04-22 09:53:40.522 -sh: printenv: not found
< 2021-04-22 09:53:40.526 WinSCP: this is end-of-file:127

Try forcing UTF-8 in session settings:
https://winscp.net/eng/docs/faq_utf8#scp
https://winscp.net/eng/docs/ui_login_environment#utf
cjchome

Re: Chinese file names are not supported

I use "SCP" protocol login, WinSCP can not supported Chinese file names
I use "SFTP" protocol login, WinSCP can supported Chinese file names
martin

Re: Chinese file names are not supported

Please attach a full session log file showing the problem (using the latest version of WinSCP).

To generate the session log file, enable logging, log in to your server and do the operation and only the operation that causes the error. Submit the log with your post as an attachment. Note that passwords and passphrases not stored in the log. You may want to remove other data you consider sensitive though, such as host names, IP addresses, account names or file names (unless they are relevant to the problem). If you do not want to post the log publicly, you can mark the attachment as private.
cjchome

Re: Chinese file names are not supported

Have setuped UTF-8,useless.
cjchome

Chinese file names are not supported

Version: WinSCP 5.18.3 RC
Chinese file names are not supported