Feb 10

perl的utf8转gb2312

adminleon , 22:01 , 生活记录 , 评论(0) , 引用(0) , 阅读(68) , Via 本站原创 | |


use Encode;


$b="这里是utf8的文字";
$a=encode("gb2312",$b);

发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]