Unicode -> String problem

Jay Parlar jparlar at home.com
Tue Jul 10 12:38:27 EDT 2001



> > Now, whenever I'm given HTML from IE's cache, it is unicode. There is no doubt 
> > about that.
> 
> Are you sure? Which encoding of Unicode? UTF-16, UTF-8, ...
> 

Well, I know that it's Unicode for two reasons: 1) The developer of the module that generates the HTML from the cache told me so, and 2) I do a check for 
UnicodeType in my own code. I don't think I could tell you which encoding it is though (not without knowing how to check for that within my code).

Jay P.





More information about the Python-list mailing list