摘要: echo 或者 var_dump() 直接输出中文乱码问题header("Content-Type:text/html;charset=utf-8");***************************************************将指定字符串转为指定编码mb_convert_encoding($text, 'UTF-8','UTF-8'); // 待转换的字符串,目标编码,现编码 阅读全文
posted @ 2012-12-18 10:52 易木 阅读(109) 评论(0) 推荐(0) 编辑