Function Reference/utf8 uri encode
Description
Encode the Unicode values to be used in the URI.
Usage
<?php utf8_uri_encode( $utf8_string, $length ) ?>
Parameters
- $utf8_string
- (string) (required)
- Default: None
- $length
- (integer) (optional) Max length of the string
- Default: 0
Return Values
- (string)
- String with Unicode encoded for URI.
Examples
Notes
Change Log
Since: 1.5.0
Source File
utf8_uri_encode() is located in wp-includes/formatting.php.
Related