摘要: class Phpclass { function __construct() { } /** * 转换字符编码 * @param string $fContents 需要转换编码格式的内容 * @param string $from 原编码格式 * @param string $to 新编码格式 * @return string */ public function auto_charset($fContents, $from='gbk', $to='utf-8') { ... 阅读全文
posted @ 2013-04-01 15:21 WhoAmMe 阅读(241) 评论(0) 推荐(0) 编辑