From: Gregory Brown Date: 2008-09-19T00:52:57+09:00 Subject: Re: How to clean an xml files from non-utf-8 chars? On Thu, Sep 18, 2008 at 9:25 AM, Krzysieq wrote: > Unfortunately, there's no way telling the original encoding. I would rather > go for some method of removing / substituting the chars that don't belong > there, but the method first suggested by Brian doesn't seem to work for some > reason. Does anyone have another option? I'm investigating the reasons of > failure, I will write more when I know something more. Thanks for all help > anyways :) If there is no way of telling the original encoding, the input data may not have valid unicode in it at all, right? -greg -- Technical Blaag at: http://blog.majesticseacreature.com | Non-tech stuff at: http://metametta.blogspot.com