title: Howto identify UTF-8 encoded strings
body: <p>What's the best way to identify if a string (is or) might be UTF-8 encoded? The Win32 API <code>IsTextUnicode</code> isn't of much help here. Also, the string will not have an UTF-8 BOM, so that cannot be checked for. And, yes, I know that only characters above the ASCII range are encoded with more than 1 byte.</p>