how to detect the character encoding in a web page ?

iMath redstone-cold at 163.com
Sun Dec 23 21:57:46 EST 2012


在 2012年12月24日星期一UTC+8上午8时34分47秒,iMath写道:
> how to detect the character encoding  in a web page ?
> 
> such as this page 
> 
> 
> 
> http://python.org/

but how to let python do it for you ?

such as this page 

http://python.org/ 

how to  detect the character encoding in this web page by python ?



More information about the Python-list mailing list