There are a lot of learning materials in the web format, which is very practical, but many data is written in different language codes, with GB2312, BIG5, UTF-8, etc., some in the related page, marked the language code, ok, If there is no tag, the web client opens the page, the browser may return a bunch of garbled to the user. The Apache profile provides the addcharsetdefautl parameter to returns the page to the customer with the defined language coded. In the Apache configuration file httpd.conf file, the AddCharsetDefaut command can be implemented: case: / var / www / html / big5_study directory information is the data of the traditional code, and the HTML header of the related page is not Define the code of the page, and most of the server is GB2312, in order to reduce the browser manually changing the browser page coding, you can add the following lines after httpd.con:
Save, restart the web service, customers can easily access the traditional Chinese code information of that directory.