Hi,
> Just create a label with this text: "Über" (About, u'\u00dcber') and
> then try to run this through tw. I don't have access to the tw tests
> and I needed a quick solution. I'm not saying that my solution is safe
> but it did work. In a web framework, str() is really dangerous since
> you're always handling unicode data. I was really surprised that tw
> can't handle this simple case.
I'm inclined to agree with you. I've been careful to test that unicode
works in user input. But unicode data in values derived from code is
not so widely tested, hence the problems you've mentioned.
If after changing all str to unicode, all the unit tests pass, and the
dyndemo app still works, I reckon we're good to commit them.
Paul