推荐:《PHP视频教程》
方法:
1, 全部使用utf-8;
2, 文件存储为utf-8 without bom头;
3, 数据库使用utf-8 general ci;
4, url中的中文要rawurlencode;
5, 解析时不要decode;