reset_mbstring_encoding()
- Since
- 3.7.0
- Source
wp-includes/functions.php:7687
Resets the mbstring internal encoding to a users previously set encoding.
Uses · 1
- mbstring_binary_safe_encoding()Sets the mbstring internal encoding to a binary safe encoding when func_overload is enabled.
Used by · 12
- WP_Filesystem_Direct::put_contents()Writes a string to a file.
- WP_Filesystem_FTPext::put_contents()Writes a string to a file.
- WP_Filesystem_ftpsockets::dirlist()Gets details for files in a directory or a specific file.
- WP_Filesystem_ftpsockets::get_contents()Reads entire file into a string.
- WP_Filesystem_ftpsockets::put_contents()Writes a string to a file.
- WP_Http::request()Send an HTTP request to a URI.
- _unzip_file_pclzip()Attempts to unzip an archive using the PclZip library.
- seems_utf8()Checks to see if a string is utf8 encoded.
- utf8_uri_encode()Encodes the Unicode values to be used in the URI.
- verify_file_signature()Verifies the contents of a file against its ED25519 signature.
- wp_read_image_metadata()Gets extended image metadata, exif or iptc as available.
- wpdb::strip_invalid_text()Strips any invalid characters based on value/charset pairs.
Source
function reset_mbstring_encoding() { mbstring_binary_safe_encoding( true );}History
Introduced in 3.7.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.9.7 tag, from
src/wp-includes/functions.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it. - Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.