Error when passing special characters?

"kahenraz" <[email protected]> Sun, 03 Dec 2006 18:01:19 -0000
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
I'm trying to trouble shoot and error that I'm receiving when making a
client query:

An error occurred - -32700:parse error. not well formed

This occurs when special characters are sent like degrees ( ° ) and a
type writer apostrophe ( ' ).

Is there a way to escape these characters? Is there a list is which
characters to escape?