2013年3月22日
摘要: 这个程序是从 织梦里面 弄出来的 需要 拷贝 织梦里面的2个文件include/data/gb2312-utf8.datinclude/data/pinyin.datPHP 的 代码如下<?php/*** UTF-8 转GB编码** @access public* @param string $utfstr 需要转换的字符串* @return string*/function utf82gb($utfstr) { if(function_exists('iconv')) { return iconv('utf-8','gbk//ignore' 阅读全文
posted @ 2013-03-22 21:18 ヽ坚强的蘑菇 阅读(325) 评论(0) 推荐(0) 编辑