# reset_mbstring_encoding()

URL: https://chugunov.pro/api-wordpress/functions/reset_mbstring_encoding/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: функция.
Появился в версии: 3.7.0.

## Сигнатура

```php
reset_mbstring_encoding()
```

## Описание

Смотрите alsombstring_binary_safe_encoding()

## Исходный код

Файл: `wp-includes/functions.php:7725`

```php
function reset_mbstring_encoding() {
	mbstring_binary_safe_encoding( true );
}
```

## История изменений

- 3.7.0 — Introduced.

## Связанные

Использует: [`mbstring_binary_safe_encoding`](https://chugunov.pro/api-wordpress/functions/mbstring_binary_safe_encoding/).
Используется в: [`verify_file_signature`](https://chugunov.pro/api-wordpress/functions/verify_file_signature/), `wpdb::strip_invalid_text`, `WP_Filesystem_FTPext::put_contents`, `WP_Filesystem_Direct::put_contents`, [`wp_read_image_metadata`](https://chugunov.pro/api-wordpress/functions/wp_read_image_metadata/), `WP_Filesystem_ftpsockets::dirlist`, `WP_Filesystem_ftpsockets::get_contents`, `WP_Filesystem_ftpsockets::put_contents`, [`_unzip_file_pclzip`](https://chugunov.pro/api-wordpress/functions/_unzip_file_pclzip/), [`seems_utf8`](https://chugunov.pro/api-wordpress/functions/seems_utf8/), [`utf8_uri_encode`](https://chugunov.pro/api-wordpress/functions/utf8_uri_encode/), `WP_Http::request`.

Оригинал в официальной документации: https://developer.wordpress.org/reference/functions/reset_mbstring_encoding/
