Differences

This shows you the differences between the selected revisions of the page.

2008-02-14 2008-03-06
winscp is not unicode application (martin) elaborate of ftp (martin)
Line 1: Line 1:
====== How do I make WinSCP show localized and/or UTF-8 encoded (Unicode) filenames correctly? ====== ====== How do I make WinSCP show localized and/or UTF-8 encoded (Unicode) filenames correctly? ======
 +
 +===== SFTP =====
[[protocols#sftp|SFTP protocol]] specification requires that client and server uses UTF-8 encoding (Unicode) for file names. [[protocols#sftp|SFTP protocol]] specification requires that client and server uses UTF-8 encoding (Unicode) for file names.
Line 6: Line 8:
Please be aware that if your server does not support UTF-8 encoding, but uses its local legacy encoding instead, it is its fault. The problem is not on WinSCP-side. You should push your server provider to add support for UTF-8, and not ask for support of legacy encoding in WinSCP. Please be aware that if your server does not support UTF-8 encoding, but uses its local legacy encoding instead, it is its fault. The problem is not on WinSCP-side. You should push your server provider to add support for UTF-8, and not ask for support of legacy encoding in WinSCP.
-Also note that WinSCP is not an Unicode application. Hence it can display only characters that are present in default language code page of your workstation. For example, even if your server supports UTF-8 (Unicode), its filenames contains Chinese characters, but your workstation default language is German, WinSCP will not be able to display the characters correctly. To find out what is your default language, go to //Start > Settings > Control Panel > Regional and Language Options > Advanced > Language for non-Unicode programs// (on Windows XP). Unfortunately turning WinSCP to Unicode application is an immense task, that will hardly be done.+===== FTP ===== 
 +For [[protocols#ftp|FTP]] protocol, usage of UTF-8 is temporarily controlled by SFTP-specific option //[[ui_login_sftp#protocol_options|Server does not use UTF-8]]// (this will be fixed in 4.1.0).
-For [[protocols#scp|SCP]] and [[protocols#ftp|FTP]] protocols filename encoding conversion is not supported at all.+===== SCP ====
 +For [[protocols#scp|SCP]] protocol filename encoding conversion is not supported at all
 + 
 +===== Remark ===== 
 +Also note that WinSCP is not an Unicode application. Hence it can display only characters that are present in default language code page of your workstation. For example, even if your server supports UTF-8 (Unicode), its filenames contains Chinese characters, but your workstation default language is German, WinSCP will not be able to display the characters correctly. To find out what is your default language, go to //Start > Settings > Control Panel > Regional and Language Options > Advanced > Language for non-Unicode programs// (on Windows XP). Unfortunately turning WinSCP to Unicode application is an immense task, that will hardly be done.

Last modified: by martin