how to detect the character encoding in a web page ?
rosuav at gmail.com
Mon Dec 24 02:23:31 CET 2012
On Mon, Dec 24, 2012 at 11:34 AM, iMath <redstone-cold at 163.com> wrote:
> how to detect the character encoding in a web page ?
> such as this page
You read part-way into the page, where you find this:
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
That tells you that the character set is UTF-8.
More information about the Python-list