Thanks Viktorija (vika?) that provided half of the solution.
The full one is - unicode(text,'cp1255').encode('utf-8')
Because the text is encoded in cp1255 it first needs to get decoded by that and reencoded to utf8

regards
Lior.

Viktorija Zaksiene wrote:
On Tuesday 05 July 2005 08:26, Lior Kesos wrote:
  
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?
    

You can use unicode command for this:

string = unicode(string, 'utf-8')

Regards,
Viktorija
  


-- 
Lior Kesos  -  [EMAIL PROTECTED]
Content Development Team Leader
==============================
"Everything should be made as simple as possible -
but not simpler" -- Albert Einstein 

לענות