鍦ㄧ綉涓婄湅鍒癹son鐨勬枃绔狅紝鎵撶畻娴嬭瘯涓€涓嬶紝缁撴灉锛屽嚭鐜伴敊璇紝鍏堥檮涓婁唬鐮侊細
閿欒淇℃伅濡備笅锛?/p>
涔嬪悗鐧惧害锛岃胺姝屼簡涓€鐣紝寰楀埌涓や釜鏂规硶锛?br> 1.鎶奼b2312鎹负gbk 锛屽悓鏍峰嚭閿欙紝閿欒淇℃伅濡備笅
2.鍦║TF-8鍚庡姞//IGNORE 锛屽姞涓婂悗鎻愮ず濡備笅锛?/p>
涓嶈В锛屼箣鍚庡湪璁哄潧鎻愰棶锛屽緱鍒伴棶棰樻墍鍦細
鎴戠殑php鏂囦欢鏈韩鏄痷tf-8缂栫爜鐨勶紝鎶婂畠杞负ansi杩欎釜闂灏变笉瀛樺湪
淇敼涔嬪悗锛岀‘瀹烇紝鏄剧ず姝e父浜嗭紒
璁哄潧杩樻湁涓湅鍙嬶紝缁欐垜鎺ㄨ崘浜嗕釜鍑芥暟
string mb_convert_encoding ( string $str , string $to_encoding [, mixed $from_encoding ] )
闇€瑕佺紪璇戞椂鍔犱竴涓弬鏁?-enable-mbstring
瀵逛簡锛岄檮涓妀son杞崲php鏁扮粍璺焜s鏁扮粍鐨勬枃绔犲湴鍧€涔熷姞涓婏紝涓汉鎰熻鏂囩珷涓嶉敊
http://www.phpchina.com/index.php?action-viewthread-tid-15585