Easy Tutorial
❮ Func Array Change Key Case Func Curl_Multi_Add_Handle ❯

PHP utf8_encode() Function



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 unique encoding for each character/symbol plus a vast number of symbols.

However, Unicode characters are not always reliably transmitted between computers. UTF-8 can be used to transmit Unicode characters between computers.

This function returns the encoded string on success, or FALSE on failure.

Syntax

Parameter Description
string Required. Specifies the string to encode.
❮ Func Array Change Key Case Func Curl_Multi_Add_Handle ❯