3.1.5.4.3 IdnToNameprepUnicode
This function merely returns the output of what IdnToUnicode(IdnToAscii(InputString)) would return.
-
COMMENT IdnToNameprepUnicode COMMENT On Entry: SourceString – Unicode String to get nameprep form of COMMENT Flags - Bit flags to control behavior COMMENT of IDN validation COMMENT COMMENT IDN_ALLOW_UNASSIGNED: During validation, allow unicode COMMENT code points that are not assigned. COMMENT IDN_USE_STD3_ASCII_RULES: Enforce validation of the STD3 COMMENT characters. COMMENT IDN_EMAIL_ADDRESS: Allow punycode encoding of the local part COMMENT of an email address to tunnel EAI COMMENT addresses through non-Unicode slots. COMMENT COMMENT On Exit: NameprepString -String containing the nameprep form of the COMMENT input string. PROCEDURE IdnToNameprepUnicode(IN SourceString : Punycode String, IN Flags: 32 bit integer, OUT UnicodeString : Unicode String) SET AsciiString TO IdnToAscii(SourceString, Flags) SET NameprepString TO IdnToUnicode(AsciiString, Flags) return NameprepString