I am trying to include a copyright symbol in the output of a view method in a Pyramid application. This is literally the method:
def get_cpyright(self):
cpyright = ["My Super App © 2012"]
if (datetime.datetime.now().year > 2012):
cpyright.append(" - %d " % datetime.datetime.now().year)
return " ".join(cpyright)
However, when it renders out to the application, the web-page reads:
My Super App © 2012
In straight web-dev, I could use ©
or ©
I would get the the © character. This is not the case when rendering the string in the tuple.
How can I get the copyright symbol to show up? I see it on Pyramid's own docs, so I know it's possible.