So, I'm reading a db2 table and creating an xml file with the data. Came across a name in the table that has an illegal utf-8 character. An umlaut or some such thing. Looks like an O with an apostrophe over it. I dunno'. Don't care, really. I write that to the xml, and it blows up later when that xml is used. I've been asked to find a way to write utf-8 characters to the xml. In other words, catch the umlauts and whatever, and get rid of them. I don't have a clue how to do it. Anybody know?