Discuss this help topic in SecureBlackbox Forum

TElSftpClient.UseUTF8

TElSftpClient     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Specifies whether UTF-8 conversion is to be used when parsing file names received from the server.

Declaration

[C#]
    bool UseUTF8;

[VB.NET]
    Property UseUTF8 As Boolean

[Pascal]
    property UseUTF8 : boolean;

[C++]
    bool get_UseUTF8();
    void set_UseUTF8(bool Value);

[PHP]
    bool get_UseUTF8()
    void set_UseUTF8(bool $Value)

[Java]
    boolean getUseUTF8();
    void setUseUTF8(boolean Value);

Description

    This property specifies whether UTF-8 encoding should be used when processing file names. If UseUTF8 is True, SecureBlackbox expects the filenames to be encoded in UTF-8 (it is the approach used by current SecureBlackbox version). Set UseUTF8 to False if you connect to the server that does not support UTF-8 (e.g., OpenSSH). In this case the file names will be interpreted in the default character set.
    Note, that for VCL edition all file names should be converted to/from UTF-8, using the SBStrUtils.StrToUtf8 and SBStrUtils.UTF8ToStr methods.

See also:     UseUTF8OnV3     SBStrUtils.SetDefaultCharset    

Discuss this help topic in SecureBlackbox Forum