php下使用iconv需要注意的问题 |
本文标签:iconv string iconv ( string $in_charset , string $out_charset , string $str ) 复制代码 代码如下: //author:zhxia $str=iconv(utf-8,"gb2312//TRANSLIT",file_get_contents($filepath)); 此处也可以使用://IGNORE 这个参数,表示忽略不能转换的字符 。 |