PHP - Utf8 編碼函式



語法

string utf8_encode ( string $data )

定義和用法

它用於將 ISO-8859-1 字串編碼為 UTF-8。

返回值

它返回資料的 UTF-8 轉換結果。

引數

序號 引數及說明
1

資料

這是一個 ISO-8859-1 字串。

php_function_reference.htm
廣告