mb_detect_encoding Detect character encoding &reftitle.description; stringmb_detect_encoding stringstr mixedencoding_list boolstrict mb_detect_encoding detects character encoding in string str. It returns detected character encoding. encoding_list is list of character encoding. Encoding order may be specified by array or comma separated list string. If encoding_list is omitted, detect_order is used. strict specifies whether to use the strict encoding detection or not. Default is &false;. <function>mb_detect_encoding</function> example ]]> See also mb_detect_order.