punycodeDecodeLabel

fnstring punycodeDecodeLabel(string ascii) @safe

Decode a single Punycode label (without the xn-- prefix) to Unicode.

Parameters

asciiPunycode label to decode (no xn-- prefix).

Returns

The decoded Unicode label.

Throws

Exception on invalid Punycode input or length constraint failures.