Closed xen closed 11 years ago
Just to clarify, I used here traceback from working project, but if you try with your own example you will get 500, copy-paste string "Привет" to "First Name" field http://64.49.234.90/yota_example/basic and submit form.
Thanks for bringing this to my attention. I fixed it a little differently just because that str was kind of a hack in the first place. Things like the Integer validator were doing conversions which then broke other validators that were expecting strings. I'll try and add real conversion like FormEncode has in the next few releases.
If you fill form with non ascii symbols (for example russian) it fail with this traceback:
I've fixed code that tries to convert unicode strings using str function. Not fully sure about py3 version, since I don't yet switched to in on this project. But for me it at least fixed problem with other languages.