mb_convert_encoding
Convert character encoding
&reftitle.description;
stringmb_convert_encoding
stringstr
stringto_encoding
mixedfrom_encoding
Converts the character encoding of string str
to to_encoding
from optionally from_encoding.
&reftitle.parameters;
str
The string being encoded.
to_encoding
The type of encoding that str is being converted to.
from_encoding
Is specified by character code names before conversion. It is either
an array, or a comma separated enumerated list.
If from_encoding is not specified, the internal
encoding will be used.
"auto" may be used, which expands to
"ASCII,JIS,UTF-8,EUC-JP,SJIS".
&reftitle.returnvalues;
The encoded string.
&reftitle.examples;
mb_convert_encoding example
]]>
&reftitle.seealso;
mb_detect_order