HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
PHP XML Parser Reference : Encode an ISO-8859-1 string to UTF-8
The utf8_encode() function encodes an ISO-8859-1 string to UTF-8.
Unicode is a universal standard, and has been developed to describe all possible characters of all languages plus a lot of symbols with one unique number for each character/symbol.
However, it is not always possible to transfer a Unicode character to another computer reliably. UTF-8 has been developed to transfer a Unicode character from one computer to another.
Parameter | Description |
---|---|
string | Required. Specifies the ISO-8859-1 string to encode |
Return Value: | The encoded string on success. FALSE on failure |
---|---|
PHP Version: | 4.0+ |
❮ PHP XML Parser Reference