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)


Top ↑

Return

(string) Prepared string


Top ↑

Source

File: wp-includes/Requests/IDNAEncoder.php

	protected static function nameprep($string) {
		return $string;
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.