English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Basic PHP Tutorial

Advanced PHP Tutorial

PHP & MySQL

PHP Reference Manual

PHP utf8_decode() function usage and examples

PHP XML Function Manual

utf8_decode() function is used to convert strings encoded in UTF-8 encoded ISO-8859-1 Convert strings to single-byte ISO-8859-1 string

Syntax

string utf8_decode ( string $data )

Definition and usage

It is used to convert strings encoded in UTF-8encoded ISO-8859-1Convert the string of characters to single-byte ISO-8859-1

Return value

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

Parameter

Serial numberParameters and descriptions
1

data

Required. Specify the string to be decoded.

PHP XML Function Manual