WordPress at a glance
function is not described

wp_set_internal_encoding() WP 3.0.0

Set internal encoding.

In most cases the default internal encoding is latin1, which is of no use, since we want to use the mb_ functions for utf-8 strings.

No Hooks.

Return

Nothing (null).

Usage

wp_set_internal_encoding();

Code of wp set internal encoding: wp-includes/load.php VER 5.0.3

<?php
function wp_set_internal_encoding() {
	if ( function_exists( 'mb_internal_encoding' ) ) {
		$charset = get_option( 'blog_charset' );
		if ( ! $charset || ! @mb_internal_encoding( $charset ) )
			mb_internal_encoding( 'UTF-8' );
	}
}