On 20 December 2012 11:57, iMath <redstone-c...@163.com> wrote: > how to detect the encoding used for a specific text data ?
Normally encoding is given in some way by the context of the data. Otherwise no general solution is possible. On a related note: how to answer question with no context on mailing list? -- http://mail.python.org/mailman/listinfo/python-list