META tag charset garbled and would specify the
Posted by: admin at 11 Monday 5th, 2008
A previous version ofApache
by defaultAddDefaultCharset
directive "ISO-8859-1 (Latin-European languages, French, German)" is specified.
Apache2.2
later, AddDefaultCharset default setting of this directive is not.
httpd.conf
and fixes. httpd.conf
is usually located below. /usr/local/apache2/conf
/usr/local/etc/apache2
httpd.conf
AddDefaultCharset off
charset
must be specified. <META http-equiv=Content-Type content="text/html; charset=Shift_JIS">
All content is the same character coding (charset) in the
charset
you can also specify the following. httpd.conf
AddDefaultCharset EUC-JP
Whenever you finish a fix, Apache to restart.
# /usr/local/apache2/bin/apachectl restart
apachectl
will pass through if you do not know how to install different versions and looks in the following way. # which apachectl
Filed under Web server (Apache2) |