Solving encoding problems under apache

888u

Last update at :2024-05-14,Edit by888u

Even though the problem of displaying Chinese characters normally on the browser was finally solved, I still don’t understand the reason, so I recorded it here for future reference.

Open httpd.conf’ and look for Options Indexes FollowSymLinks

Add a line after: IndexOptions Charset=GB2312

Look for AddDefaultCharset and set it to:

AddDefaultCharset GB2312

Before modification:

After modification:

Recommended site search: Dalian virtual host.net virtual host cn domain name price, registration-free virtual host, registration-free virtual space, which domain name is better to register in Hong Kong space, US agent IP, foreign trade space, detailed query of IP address,

Solving encoding problems under apache

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码