I'm setting up a new server and want to support UTF-8 fully in my web application.
(我正在设置一个新服务器,并希望在我的Web应用程序中完全支持UTF-8。)
I have tried this in the past on existing servers and always seem to end up having to fall back to ISO-8859-1. (我过去曾在现有服务器上尝试过此操作,但最终似乎总是不得不退回到ISO-8859-1。)
Where exactly do I need to set the encoding/charsets?
(我到底需要在哪里设置编码/字符集?)
I'm aware that I need to configure Apache, MySQL, and PHP to do this — is there some standard checklist I can follow, or perhaps troubleshoot where the mismatches occur? (我知道我需要配置Apache,MySQL和PHP来执行此操作-是否可以遵循一些标准清单,或者对出现不匹配的地方进行故障排除?)
This is for a new Linux server, running MySQL 5, PHP, 5 and Apache 2.
(这是用于运行Linux 5,PHP,5和Apache 2的新Linux服务器。)
ask by mercutio translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…