最後更新: 2015-12-21
# 在 .htaccess 設定某 File 的 encoding
<Files "example.html"> ForceType 'text/html; charset=UTF-8' </Files>
# associate the character encoding with all files having a particular extension
AddCharset UTF-8 .html
# declares both the character encoding and the MIME type at the same time.
AddType 'text/html; charset=UTF-8' html