I am trying to relaunch a question implicit in one of my previous posts. As I said TAG with its xml() serializer fails in generating valid xml when both name and value are unicode strings with non ascii chars (in my test it succeeds when either name or value is unicode string with non ascii chars).
Reading the code I was not able to figure out what is the real problem with this issue: I would ask some more involved web2py developers to point this out and highlight which would be the issues in tackling with this limitation. Thank you