PHP utf8_encode() Function
Complete PHP XML Reference Manual
Definition and Usage
The utf8_encode() function encodes an ISO-8859-1 string to UTF-8.
Unicode is a global standard that has evolved to describe all possible characters in all languages through the unique encoding of each character/symbol plus a large number of symbols.
However, it is not always possible to reliably transfer Unicode characters between computers. UTF-8 can be used to transmit Unicode characters between computers.
On success, this function returns the encoded string. On failure, it returns FALSE.
Syntax
utf8_encode(string)
| Parameters | Description |
|---|---|
| string | Required. Specifies the string to encode. |
Complete PHP XML Reference Manual