iconvConvert string to requested character encoding Description
string iconv
( string
$in_charset
, string $out_charset
, string $str
)
Performs a character set conversion on the string
Parameters
Return Values
Returns the converted string or Changelog
Examples
Example #1 iconv example
<?php The above example will output something similar to: Original : This is the Euro symbol '€'. TRANSLIT : This is the Euro symbol 'EUR'. IGNORE : This is the Euro symbol ''. Plain : Notice: iconv(): Detected an illegal character in input string in .\iconv-example.php on line 7 |