Apache's AddDefaultcharset

zhaozj2021-02-16  56

I saw this article:

Configure Apache forcibly specifying browser coding selection, and some feelings:

APACHE 2's configuration file, addDefaultcharset default is ISO-8859-1, so many people will change it to GB2312 when they started to use, so they can avoid garbled problems.

I also recommend that people use this solution in a period of time until I see a UTF-8 encoded page, it is always garbled, there is no garbled, let you adjust the browser settings. Helpone me The entire UTF-8 page suddenly found that all the UTF-8 pages recovered normal, really magical!!

Since then, I understand that:

In the case of AddDefaultCharset, the page is encoded by the page.

Mark is determined.

转载请注明原文地址:https://www.9cbs.com/read-18831.html

New Post(0)