python to display the special characters

Posted by Suhail on Stack Overflow See other posts from Stack Overflow or by Suhail
Published on 2010-05-19T12:12:03Z Indexed on 2010/05/19 12:20 UTC
Read the original article Hit count: 282

Hi, I am facing issues with the special characters like ° and ® which represent the degreee Farenheit sign and the ® represent the registered sign,

when i print the string the contains the special characters, it gives output like this:

Preheat oven to 350&deg F

Welcome to Lorem Ipsum Inc&reg

is there a way i can output the exact characters and not their codes ? please let me know.

© Stack Overflow or respective owner

Related posts about python

Related posts about special