Home >Backend Development >PHP Tutorial >Make php support mbstring library_PHP tutorial
call mb_internal_encoding>
>
echo>
>
>
1654 d19832782d45c4b8a421f9e11c61>
mb_substr: i am a string of comparisons
mb_strcut: am mb_substr mb_strcut>
modify default_charset="“zh-cn”
" mbstring.language="zh-cn
" mbstring.internal_encoding="zh-cn br >
php_mbstring.dll file. Then edit the php.ini file:
output_handler = "mb_output_handler"
default_charset = "UTF-8"
mbstring.language = Chinese
mbstring.internal_encoding = UTF-8
mbstring.http_input = auto
mbstring.http_output = UTF-8
mbstring.encoding_translation = On