Lad wrote: > To be able to decode a string successfully, I need to know what coding > it is in.
ask whoever provided the string. > The string can be coded in utf8 or in windows-1250 or in another > coding. Is there a method how to find out the string coding. in general, no. if you have enough text, you may guess, but the right approach for that depends on the application. </F> -- http://mail.python.org/mailman/listinfo/python-list