PHP iconv and mb_convert_encoding_PHP_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > PHP > PHP iconv and mb_convert_encoding

PHP iconv and mb_convert_encoding

 2012/3/13 15:39:43  cfpl0594  程序员俱乐部  我要评论(0)
  • 摘要:iconv("GBK","UTF-8",$str)equaltomb_convert_encoding($str,"UTF-8","GBK")ORmb_convert_encoding($str,"UTF-8","auto").iconvhaveabugwhichcannotconvet"-",butmb_convert_encodingnot.
  • 标签:iconv PHP

iconv("GBK","UTF-8",$str) equal to mb_convert_encoding($str,"UTF-8","GBK") OR mb_convert_encoding($str,"UTF-8","auto").

?

iconv have a bug which can not convet "-",but mb_convert_encoding not.

发表评论
用户名: 匿名