Paulino schrieb: >>From the turbogears Shell, I can insert values in the database with > special characters, with no errors. So I guess it's not a Sqlobject > issue. > > I insert the items from the Shell, that are shown correctely in the > browser, but then I cannot update those items, I get the > UnicodeDecodeError :ascii' codec can't decode byte 0xc3 in position > 14: ordinal not in range(128) > > I have set the template's charset to iso-8859-1 > > Where can I find the resourses to solve this issue?
You seem to try to pass an byte-string with non-ascii-characters to the constructor. Print the arguments (and their type) to the log and convert the strings to unicode. Diez --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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?hl=en -~----------~----~----~----~------~----~------~--~---

