in reply to Re^2: Filtering out bad UTF8 chars
in thread Filtering out bad UTF8 chars

My problem is I have input from wildly varying sources (websites) with correspondingly wildly varying encodings...

But you asked about bad UTF-8?! Sorry, I don't understand your question at all.