automatic encoding detection in HTML/XHTML
Submitted by Tuesday, 8 August, 2006 - 14:18
on
The encoding autodetection should try to get the HTML or XHTML file's encoding from "Content-type" meta tag:
{meta http-equiv="Content-type" content="text/html; charset=windows-1257"}
{meta http-equiv="Content-type" content="text/html; charset=UTF-8"}
{meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1"}
and of course you should replace the { } with html tag brackets.
and btw. get rid of this bullshit "terminated request because of suspicious input data" error in this forum ...
{meta http-equiv="Content-type" content="text/html; charset=windows-1257"}
{meta http-equiv="Content-type" content="text/html; charset=UTF-8"}
{meta http-equiv="Content-type" content="text/html; charset=ISO-8859-1"}
and of course you should replace the { } with html tag brackets.
and btw. get rid of this bullshit "terminated request because of suspicious input data" error in this forum ...