Requests_IDNAEncoder::nameprep() WordPress Method
The Requests_IDNAEncoder::nameprep() method is used to convert a Unicode string to ASCII using the Nameprep algorithm. This is used for internationalized domain names (IDNs).
Requests_IDNAEncoder::nameprep( string $string ) #
Prepare a string for use as an IDNA name
Parameters
- $string
(string)(Required)
Return
(string) Prepared string
Source
File: wp-includes/Requests/IDNAEncoder.php
protected static function nameprep($string) { return $string; }
Expand full source codeCollapse full source codeView on TracView on GitHub