Problem is there are valid UTF-8 characters that are invalid XML characters e.g. control characters. Also, you can always shell out to the `iconv` utility to get it to convert the file.