RSS <description> problem

I recently built an RSS feed in Ruby, and it seemed to work fine. Now,
when I generate my xml file, I’m getting an error because of an invalid
character. The character is a simple apostrophe on the word >> I’m <<

Is there something that I should be doing for this? Like, specify a
certain encoding, or inside of my tags, put
something like this:

h(post.entry)

What exactly does the h() function do? Does it escape characters?

Hopefully you can see my problem. Thanks.

h() is an alias for html_escape().

Bob S.
http://www.railtie.net/