System.Net.URLClient.TURI.UnicodeToIDNA
Delphi
class function UnicodeToIDNA(const AHostName: string): string; static;
C++
static System::UnicodeString __fastcall UnicodeToIDNA(const System::UnicodeString AHostName);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Net.URLClient.pas System.Net.URLClient.hpp |
System.Net.URLClient | TURI |
Description
Converts a Unicode hostname into an ASCII hostname.
UnicodeToIDNA uses Punycode transcription to convert a hostname from Unicode to ASCII.