爱玺玺

爱玺玺的生活日记本。wx:lb87626

php转码 mb_convert_encoding,在导出excel时能用上

GBK To UTF-8 


<?php 

header("content-Type: text/html; charset=Utf-8"); 

echo mb_convert_encoding("妳係我的友仔", "UTF-8", "GBK"); 

?> 


发表评论:

Powered By Z-BlogPHP 1.4 Deeplue Build 150101

Copyright Your WebSite.Some Rights Reserved.

蜀ICP备11021721号-5