utf8_uri_encode
utf8_uri_encode ( $utf8_string, $length = 0, $encode_ascii_characters = false )
Parameters:- (string) utf8_string String to encode.
- (int) length Max length of the string
- (bool) encode_ascii_characters Whether to encode ascii characters such as < " '
Returns:- (string) String with Unicode encoded for URI.
Defined at:Change Log: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: —
Description
Encodes the Unicode values to be used in the URI.