function mb detect encoding


mb_detect_encodingPodręcznik PHPPoprzedniNastępnymb_detect_encoding (PHP 4 >= 4.0.6)mb_detect_encoding -- Detect character encodingDescriptionstring mb_detect_encoding ( string str [, mixed encoding-list]) 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. Przykład 1. mb_detect_encoding() example/* Detect character encoding with current detect_order */ echo mb_detect_encoding($str); /* "auto" is expanded to "ASCII,JIS,UTF-8,EUC-JP,SJIS" */ echo mb_detect_encoding($str, "auto"); /* Specify encoding_list character encoding by comma separated list */ echo mb_detect_encoding($str, "JIS, eucjp-win, sjis-win"); /* Use array to specify encoding_list */ $ary[] = "ASCII"; $ary[] = "JIS"; $ary[] = "EUC-JP"; echo mb_detect_encoding($str, $ary); See also: mb_detect_order(). PoprzedniSpis treściNastępnymb_decode_numericentityPoczątek rozdziałumb_detect_order

Wyszukiwarka

Podobne podstrony:
function mb detect encoding
function mb detect order
function mb convert encoding
function mb convert encoding
function mb detect order
function mb internal encoding
function mb internal encoding
function mb regex encoding
function mb strimwidth
function mb http output
function mb http output
function mb parse str
function mb strimwidth
function mb strpos
function mb preferred mime name
function mb strlen

więcej podobnych podstron