I run openSUSE 31.1, but naybe this helps.
As IMHO UTF-8 should bb the only charaset set used in all places, specialy my web site, I have:
Code:
AddDefaultCharset utf-8
as in fact the fisrst statements in my default-server.conf.
I also have in each page (might be superfluous):
HTML Code:
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
Also, when I use vi on my HTML files, vi reports:
Code:
:set
--- Opties ---
filetype=html nomodeline showmatch ttyfast
helplang=nl ruler syntax=html ttymouse=xterm2
backspace=indent,eol,start
fileencoding=utf-8
fileencodings=ucs-bom,utf-8,default,latin1
Browsers report as their conclusion that the encoding is UTF-8.
So this seems to work here.
While this mainly is about the meta data about the file (which encoding it is in), please remind that a file containing only US-ASCII characters is as well a valid ASCII file as well as a valid UTF-8 file.
Bookmarks