update : 2015.11.03
php.shukuma.com

검색:
 
 
Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1

utf8_decode

(PHP 4, PHP 5)

utf8_decode Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1

설명

string utf8_decode ( string $data )

This function decodes data, assumed to be UTF-8 encoded, to ISO-8859-1.

인수

data

An UTF-8 encoded string.

반환값

Returns the ISO-8859-1 translation of data.

참고

  • utf8_encode() - Encodes an ISO-8859-1 string to UTF-8 (contains an explanation of UTF-8 encoding)