Discuss this help topic in SecureBlackbox Forum

ToASCII

Declared in     See also     


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


Encodes an Internationalized Domain Name using punicode.

Declaration

[C#]
    string ToASCII(string Domain);

[VB.NET]
    Function ToASCII(ByVal Domain As String) As String

[Pascal]
    function ToASCII(const Domain : UnicodeString { WideString }) : string;

[C++]
    void ToASCII(const std::wstring & Domain, std::string & OutResult);

[Java]
    not available

[PHP]
    not available

Parameters

  • Domain - the IDN domain name to be encoded.

Return value

    Returns the encoded domain name.

Description

    Use this function to encode an Internationalized Domain Name (IDN) to ASCII string using punicode.

Declared in

.NET:
  • Namespace: SBPunycode
  • Assembly: SecureBlackbox
VCL:
  • Unit: SBPunycode
Java:
  • Package: SecureBlackbox.Base.jar
C++:
  • sbpunycode.h

See also:     PunycodeDecode     PunycodeEncode     ToUnicode    

Discuss this help topic in SecureBlackbox Forum