Latest web development tutorials

PHP utf8_decode () function

PHP XML Reference Complete PHP XML Reference

Definition and Usage

utf8_decode () function to decode the UTF-8 string to ISO-8859-1.

The function to be decoded by utf8_encode () function of ISO-8859-1 encoding strings into a single-byte ISO-8859-1 string.

If successful, the function returns the decoded string. If it fails, it returns FALSE.

grammar

utf8_decode(string)

参数 描述
string 必需。规定要解码的字符串。


PHP XML Reference Complete PHP XML Reference