Chinese file names are not supported

Advertisement

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,587
Location:
Prague, Czechia

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.

Reply with quote

cjchome
Guest

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

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,587
Location:
Prague, Czechia

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

Reply with quote

Advertisement

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

Reply with quote

Advertisement

You can post new topics in this forum