28 Apr
2003
28 Apr
'03
11:07 a.m.
: OdesÃlatel: Bojan Bjelic <van_bele@yahoo.com> : 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 Did you have specified CP1250 as Zope language? For example czech lang (locale: cs_CZ.CP1250): z2.py -L 'cs_CZ.CP1250' You need of course locale in CP1250 too. RH8 has this, MDK 9.1 does not, but I was generate it (with some uninterested errors in day/month names etc). And my Zope work with it OK! Regards JL.
8378
Age (days ago)
8378
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jaroslav Lukesh