会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
guoadou
Don't cry because it came to an end.Smile because it happened.
博客园
首页
新随笔
联系
订阅
管理
2005年9月26日
unicode_to_utf8 in PHP
摘要: 当短信格式为8:UCS2编码的时候,需要把Unicode的十六进制编码转换成UTF8,但是PHP没有内置Unicode的支持,怎么办呢? /** * 把Unicode的十六进制字符串转换成utf8的文本字符串 * @param mixed $str 要转换的字符串,不能为null * @return utf8的文本字符串*/public static function unico...
阅读全文
posted @ 2005-09-26 15:12 guoadou
阅读(1489)
评论(0)
推荐(0)
编辑