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