Dirk Koopman wrote: > Is there a way of, reasonably reliably, determining what the character > set of a lump of text is? > > In a(n unhelpful) word: No. Not in a 100% reliable way anyway. Might want to look at http://icu.sourceforge.net/ - it has heuristics to do it (I think.) Ash