摘要: /** * $str 原始中文字符串 * $encoding 原始字符串的编码,默认GBK * $prefix 编码后的前缀,默认"&#" * $postfix 编码后的后缀,默认";" */ function unicode_encode($str, $encoding = 'GBK', $pre 阅读全文
posted @ 2016-02-20 14:58 绿尘枫 阅读(11032) 评论(0) 推荐(1) 编辑