Hello Gog (Gang of Geeks), I'm writing a python script that is supposed to get some information off a hebrew website having this in it's headers... <META HTTP-EQUIV=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1= 255"> and=20 <style> select{font-family:arial;font input{font-family:arial;font body{font-family:arial;font table{font-family:arial;font a{font-family:arial;text color:'#000044';text-decoratio a:hover{font-family:arial a:active{font-family:arial text-decoration:'underline';} =09 #pptw{position:absolute;top: </style> I'm connecting through urllib2.urlopen and using htmllib.HTMLParser to pars= e it. I get a garbled output when I view the result. Now I'm pretty weak on the why but I know I want to store my results in utf8 because it's pretty much what everyone (mysql) uses to be overpass these types of problems. It there a way I can cast/transform encodings? regards Peace Love and Penguins - Lior Kesos -- Lior Kesos - [EMAIL PROTECTED] Content Development Team Leader ============================== "Everything should be made as simple as possible - but not simpler" -- Albert Einstein |
- Parsing a hrebrew website and storing the parsed (hebre... Lior Kesos
- Re: Parsing a hrebrew website and storing the pars... Viktorija Zaksiene
- [SOLVED}Re: Parsing a hrebrew website and stor... Lior Kesos
- Re: [SOLVED}Re: Parsing a hrebrew website ... Viktorija Zaksiene