ada_idna_to_ascii

Converts a Unicode string to IDNA-encoded ASCII.

extern (C) @nogc nothrow @safe @trusted
ada_idna_to_ascii
(
scope const(char)* input
,
size_t length
)

Parameters

input const(char)*

The input string (null-terminated C string).

length size_t

The length of the input string.

Return Value

An ada_owned_string containing the ASCII string, which must be freed with ada_free_owned_string.

Meta