CharSet on This Page:


Go to utf-8.html

CharSet

File is .html

If there exists <meta charset="utf-8">, then document.characterSet returns "UTF-8" If not, it returns "windows-1252"

File is .php

Even if there doesn't exist <meta charset="utf-8">, document.characterSet always returns "UTF-8"

Tested on