Jorge and others,

I think found the source of problem and it seems not related to
errorhandler. More precisely, I think I found the bigger problem and
solving it should solve the problem you got and the problem I described
in other thread.

Actually, you would get the same UnicodeDecodeError if you enter
non-ascii text in any field, say, with validator.Int() and if
validation error occurs. I think this in unacceptable.

I fiddled with Widget.adjust_value method to convert any encoded
strings into Unicode string and this seems to solve the problem neatly.

Committed in r789; please check it out and report if it helps and
whether there are any regressions.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to