php :

php:
------------------------------------------------------------
header("Content-Type: text/html; charset=UTF-8");



phpļıйϵ
------------------------------------------------------------


1 ͻ˷͵ݵַ:

ʹÿͻ˵phpUTF-8Ҫ£ο demo.php  58 
$client->setOutgoingEncoding("UTF-8");

2 ͻ˽յַת
demo.phpõUTF-8룬ӷ˷صҲUTF-8룬ֱû
ʹGBKģ demo_gbk.php ,Ҫ
$client->setOutgoingEncoding("GBK"); 
֮⣬ʾҲҪ UTF-8 => GBK ת 295 


