jim jewett zuhbosedrugmailcom david wolever wrote imo encoding estimation something many web programs deal might well built would prefer option run textinputencodeguess something similar relying external dependency worse yet using handrolled algorithm still draft html5 spec trying get errorcorrection standardized includes sort fails x encoding detection standardized external standard reference httpdevw3orghtml5specoverviewhtmldetermining note portion spec probably stable yet new analysis wrong answers provided better results real world web pages eg httplistswhatwgorgpipermailwhatwgwhatwgorg2008march014127html httplistswhatwgorgpipermailwhatwgwhatwgorg2008march014190html also recent analysis many characters takes sniff successfully x time todays web though im finding moment jj _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 180225 0400 pythondev encoding detection standard library