mb_internal_encoding --
Set/Get internal character encoding
Syntax
mixed 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.
Example 1. mb_internal_encoding() example
<?php /* Set internal character encoding to UTF-8 */ mb_internal_encoding("UTF-8");
/* Display current internal character encoding */ echo mb_internal_encoding(); ?>
mb internal encoding php code on this is provided for your study purpose, it will guide you to know how create and design a website using php. use it to practice and train your self online
Php mb internal encoding syntax tutorial
php tutorial guide and code design are for easy learning and programming. The code practice section provided at the top is for practising of this syntax. Use the code section up to practice your php programming online. Learning php is very easy, all you need is to use the examples on this site and practice them to perfect your skills.