UTF-8 password ? - WeOnlyDo Discussion board

UTF-8 password ? (wodSFTP / wodSFTP.NET / wodSFTPdll)

by Termot, Thursday, March 14, 2024, 12:52 (44 days ago) @ Jasmine

Hi.

Password is already in UTF8 format sent to the server when requested. You provide it as unicode (like all strings in COM world) and then it converts to bytes using UTF8 encoding.

Regards,
Jasmine

Since version 2009 delphi string it is unicodestring
When I set it with special chars

var pass : UnicodeString;
begin
Pass:='ÓŁŃŚ';
SFTPClient.Password:=Pass;

I can't connect


Complete thread: