Okay i'm using the print $title for my custom themes, but i've been reading that we should apply the check_plain($title) to strip out unwanted and to make the theme output secure.

However, when I do this it changes quotes and such to their ascii format in the presentation layer.

Whats the best way to write a theme?

thanks in advance.