Michele,
> In r1126 [1] I've removed the use of to_unicode from adjust_value, it
> should work all right since we are now using the CP decoding filter,
> anyway if you (for example Max and Jorge that I think need this
> feature) start experiencing problems we will just revert this change,
> it's just an attempt to reduce monkeypatching here and there. ;-)
I appreciate the idea but not the results. ;-)
IOW, my code no longer works:
File "<string>", line 25, in _pull
File "c:\python24\lib\site-packages\kid-0.9-py2.4.egg\kid\template_util.py",
line 60, in make_attrib
ls = [to_unicode(i, encoding) for i in v if i is not None]
File "c:\python24\lib\site-packages\kid-0.9-py2.4.egg\kid\pull.py", line 190,
in to_unicode
return unicode(value, encoding)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal
not in range(128)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-trunk
-~----------~----~----~----~------~----~------~--~---