From: Krzysieq Date: 2008-09-17T18:07:13+09:00 Subject: How to clean an xml files from non-utf-8 chars? ------=_Part_1302_186119.1221642876830 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi, I have a problem. I'm trying to parse with ruby some test results from jmeter, that are stored in xml files. Unfortunately, while they should be utf-8, some of them aren't. Probably because some db data isn't. In any case, this makes other toys break down, like xslt transformation and anything else that relies on the xml files being utf-8. Does anyone know, how to get rid of such characters? When opened in an editor like Kate, they are viewed as a white question mark in black square. I don't really care much about the data - if it's missing some chars, nobody will care. The point is not to destroy the xml structure and enable other tool's operations. Any help will be greatly appreciated. Cheers, Chris ------=_Part_1302_186119.1221642876830--