Code Snippet </> Info
Snippet Name: Automatically add utf-8 charset to files
Description: In order to avoid encoding problems, you can force a specific encoding directly on your .htaccess file. That way, you will ensure that your HTML documents will always render correctly, even if you forget to add a directive in your HTML pages.
Note:
Author:
Last Modified: 2015-03-26 23:20:36
Language: .htaccess
Highlight Mode: html
|
Copy Codes: Use Free Notepad ++ |
|
Snap HTML Code Editor: Paste the source code, make changes and instantly see it in live preview. Snap HTML Code Editor
|
|
Copied To Clipboard!
#Begin Auto UTF-8 Charset
<FilesMatch "\.(htm|html|css|js)$">
AddDefaultCharset UTF-8
</FilesMatch>
# // --> End
|