Topic "Unix2Windows charsets mismatch"

Author Message
Conservator

Guest


Hi all!
My server is FreeBSD with KOI8-R charset (FreeBSD 6.0). When I connect to this host with WinSCP (3.8.0 build 312) from WinXP I see filenames in wrong, for example, russian encoding, but I can't select right server's charset in WinSCP. Can WinSCP do it or not?
Thanks.
Tim V Andrew
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
What protocol do you use? SFTP or SCP?
_________________
Martin Prikryl
Conservator

Guest


prikryl wrote:
What protocol do you use? SFTP or SCP?

SFTP
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
SFTP specification requires that the server supports UTF-8 encoding. WinSCP supports that. If your server does not, ask its authors to implement it Smile
_________________
Martin Prikryl
Guest




prikryl wrote:
SFTP specification requires that the server supports UTF-8 encoding. WinSCP supports that. If your server does not, ask its authors to implement it Smile


My server support UTF-8 and WinSCP display russian letters, but effect is such, that it chose missing codepage. For example, like reading files in koi8-r with cp1251: all letters are russian, but not in their place...
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Quote:
My server support UTF-8 and WinSCP display russian letters, but effect is such, that it chose missing codepage. For example, like reading files in koi8-r with cp1251: all letters are russian, but not in their place...

Sorry, I do not understand. What do you mean by "that it chose missing codepage" and "but not in their place"?
_________________
Martin Prikryl
Guest




prikryl wrote:
Sorry, I do not understand. What do you mean by "that it chose missing codepage" and "but not in their place"?


1. "chose missing codepage": It looks like this. I.e. when somebody try see text, that is in koi8-r, with cp1251.
2. "not in their place" is that, what forms after paragraph 1 operation. If you can see different encodings i can demonstrate this:

In koi8-r the letters are:
Литература
but in cp1251 this letters are
мЙФЕТБФХТБ
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
Sorry. I'm still bit confused. However it seems that althought you claim your server to support UTF-8 (what server it is, BTW?), it incorrectly converts server-side codepage to UTF-8.
_________________
Martin Prikryl
Guest




prikryl wrote:
Sorry. I'm still bit confused. However it seems that althought you claim your server to support UTF-8 (what server it is, BTW?), it incorrectly converts server-side codepage to UTF-8.


Well, leave it alone. I will devise smth.
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