When I use this script x = unicode('abc', 'utf-8') file_str = x.encode('cp1250') I get this message Error Type: TALESError Error Value: exceptions.LookupError on no codec search functions registered: can't find encoding in '', at line 56, column 2 Can you help me please? __________________________________ Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com