php汾ʱĽ
PHPļıҳıӦƥ䡣
ʹgb2312룬ôPHPҪͷ header(Content-Type:text/html;charset=gb2312),̬ҳ ļıʽΪANSIü±ΪѡΪANSIԴļ
ʹutf-8ôphpҪͷheader(Content-Type:text/html; charset=utf-8)html̬ҳļıʽΪutf-8Ϊutf-8ܻе鷳һutf-8ļͷBOMʹsessionͻ⣬editplus棬editplusУ-ѡ-ļ-UTF-8ǩѡɾٱͿȥBOMϢˡ
phpUnicodeģsubstr֮ĺøijmb_substrҪװmbstringչiconvת롣 echo iconv('GB2312,'UTF-8, str); //ַıGB2312תUTF-8
---------------------
ȨΪCSDNҪúԭ£ѭCC 4.0 by-saȨЭ飬ת븽ԭijӼ
ԭӣhttps://blog.csdn.net/qq_39476250/article/details/88417189