EldoS | Feel safer!

Software components for data protection, secure storage and transfer

ElSimpleSftpClient and unicode special chars in filename

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#13717
Posted: 06/19/2010 10:33:23
by Robert  (Basic support level)
Joined: 05/29/2010
Posts: 6

Can you tell me please, how to display unicode characters in filenames with ElSimpleSftpClient correct?

Thank you.


Edit: Solved - need to convert filenames to UTF16
#13720
Posted: 06/20/2010 09:43:38
by Robert  (Basic support level)
Joined: 05/29/2010
Posts: 6

The related, better question is, how to dertermine the encoding used by the server?
#13723
Posted: 06/21/2010 06:38:38
by Mykola Olshevsky (Basic support level)
Joined: 07/07/2005
Posts: 450

According to SFTP standard, servers should use utf8. However, thay may use other charset. Also, servers can send used filenames charset in specific extension, in ElSimpleSFTPClient it is exposed as ElSimpleSFTPClient.ExtendedProperties.FilenameCharset.
However, nobody can guarantee that server will send it, and that server will use utf8 as it should be.

Reply

Statistics

Topic viewed 891 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS business operates as a division of /n software, inc. For more information, please read the announcement.

Got it!