I am using Python (Tornado framework in specific) to develop a corp website. When I output the data to html, there were some special characters such as (r) or ™ in unicode format, for example:
Google%u2122
How can I encode (or convert) it to the correct one, such as Google (TM). I try using encode() method but it didn’t work.
Thank you very mych
Thanks Ikke for the link, as I am working in web environment (using Tornado as I mentioned) so the primary answer there didn’t meet my requirement, instead this one https://stackoverflow.com/a/300556/183846:
To apply to Tornado template, I create the f