How to get an encoding a value?
Golawala, Moiz M (GE Infrastructure)
Moiz.Golawala at ge.com
Fri Oct 22 11:36:58 EDT 2004
Hi all,
I have a some data is encoded into something thing. I want to find out the encoding of that piece of data. For example
s = u"somedata"
I want to do something like
ThisIsTheEncodingOfS = s.getencoding()
is there are method that tell me that it is unicode value if I provide it with a unicode string?
Thanks
Moiz Golawala
More information about the Python-list
mailing list