Resolved unicode issue while printing title

When the title was printed using the print. It was showing the following error:
'ascii' codec can't encode character u'\u2013' in position 9: ordinal not in range(128)

We encode the string in unicode and it solves the issue.