"Max Ischenko" <[EMAIL PROTECTED]> writes: > 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.
It worked here. I removed the hack from sitecustomize.py as well. Good to know that it went back to what it was :-) I couldn't be getting crazy saying that it worked before... :-) -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

