Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

iconv

(PHP 4 >= 4.0.5, PHP 5)

iconv -- 文字列を指定した文字エンコーディングに変換する

説明

string iconv ( string in_charset, string out_charset, string str)

文字列 strの文字集合を in_charset から out_charset に変換します。 変換された文字列または失敗した場合に FALSE を返します。

例 1. iconv() の例

<?php
echo iconv("ISO-8859-1", "UTF-8", "This is a test.");
?>

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP マニュアル". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.