function mb internal encoding 4AC4ZIIB67GKLVICJ3W4QAOVGYB3NXI7VUDAG7A
mb_internal_encodingPodręcznik PHPPoprzedniNastępnymb_internal_encoding (PHP 4 >= 4.0.6)mb_internal_encoding --
Set/Get internal character encoding
Descriptionstring mb_internal_encoding ( [string encoding])
mb_internal_encoding() sets internal character
encoding to encoding If parameter is
omitted, it returns current internal encoding.
encoding is used for HTTP input character
encoding conversion, HTTP output character encoding conversion
and default character encoding for string functions defined by
mbstring module.
encoding: Character encoding name
Return Value: If encoding is
set,mb_internal_encoding() returns
TRUE for success, otherwise returns
FALSE. If encoding is
omitted, it returns current character encoding name.
Przykład 1. mb_internal_encoding() example/* Set internal character encoding to UTF-8 */
mb_internal_encoding("UTF-8");
/* Display current internal character encoding */
echo mb_internal_encoding();
See also mb_http_input(),
mb_http_output(),
mb_detect_order().
PoprzedniSpis treściNastępnymb_parse_strPoczątek rozdziałumb_http_input