PHP utf8_encode () function
Definition and Usage
utf8_encode () function to ISO-8859-1 string encoded as UTF-8.
Unicode is a global standard, has developed into a unique code can be applied by each character / symbol of a large number of symbols to describe all the languages of all possible characters.
However, not always reliably between computers pass Unicode characters. UTF-8 Unicode characters can be used in the transmission between computers.
If successful, the function encoded string is returned. If it fails, it returns FALSE.
grammar
utf8_encode(string)
参数 | 描述 |
---|---|
string | 必需。规定要编码的字符串。 |
Complete PHP XML Reference