|
mb_detect_orderSet/Get character encoding detection order Description
mixed mb_detect_order
([ mixed
$encoding_list = mb_detect_order()
] )
Sets the automatic character
encoding detection order to Parameters
Return Values
When setting the encoding detection order, When getting the encoding detection order, an ordered array of the encodings is returned. Examples
Example #1 mb_detect_order examples
<?php
Example #2 Example showing useless detect orders ; Always detect as ISO-8859-1 detect_order = ISO-8859-1, UTF-8 ; Always detect as UTF-8, since ASCII/UTF-7 values are ; valid for UTF-8 detect_order = UTF-8, ASCII, UTF-7 See Also
|