Does "iconv -f utf8 -t latin1 < ${i} | iconv -f utf8 -t utf8" not work? It
decodes one layer of UTF-8 and tests if the result is still in UTF-8, that
seems right, and should work for all of Unicode.
markus

Reply via email to