mb_convert_encoding Convert character encoding &reftitle.description; mixedmb_convert_encoding mixedval stringto_encoding mixedfrom_encodingmb_internal_encoding() Converts the character encoding of val to to_encoding from optionally from_encoding. If val is an &array;, all its &string; values will be converted recursively. &reftitle.parameters; val The &string; or &array; being encoded. to_encoding The type of encoding that val 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. See supported encodings. &reftitle.returnvalues; The encoded &string; or &array;. &reftitle.examples; <function>mb_convert_encoding</function> example ]]> &reftitle.seealso; mb_detect_order &reftitle.changelog; &Version; &Description; 7.2.0 This function now also accepts an &array; as val. Formerly, only &string;s have been supported.