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:
  • 5: .

Description

Encodes the Unicode values to be used in the URI.

Related Functions

get_url_in_content, urlencode_deep, wp_json_encode, reset_mbstring_encoding, get_enclosed

Top Google Results

User discussions

wpseek mobile