mb_detect_encoding Detect character encoding &reftitle.description; stringmb_detect_encoding stringstr mixedencoding_listmb_detect_order() boolstrictfalse Detects character encoding in string str. &reftitle.parameters; str The string being detected. encoding_list 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 strict specifies whether to use the strict encoding detection or not. Default is &false;. &reftitle.returnvalues; The detected character encoding or &false; if the encoding cannot be detected from the given string. &reftitle.examples; <function>mb_detect_encoding</function> example ]]> &reftitle.seealso; mb_detect_order