How can I use unicode strings in tornado views or templates?
I insert in template
Once you have your unicode string ready, the request should end
self.render("template.html", aString=aUnicodeString)
This renders the file "template.html" setting the aString variable to aUnicodeString.
template.html would look something like this:
{{aString}}
It's also possible to inline the HTML in the Tornado server.
self.render('{{aString}}', aString=aUnicodeString)
More on templates here:
Tornado Web Server Documentation