For those of you wondering whether your charset should be iso-8859-1 or utf-8, the difference is discussed in this forum thread. (Scroll down or do a term search.) Myself, I use utf-8 character encoding, declared in the <?xml... prologue. (With heredoc to keep it from messing up my PHP.)