title: Detecting Multi-Byte Character Encodings
body: <p>What C/C++ Libraries are there for detecting the multi-byte character encoding (UTF-8, UTF-16, etc) of character array (<code>char*</code>). A bonus would be to also detect when the matcher halted, that is detect <em>prefix</em> match ranges of a given set of a possible encodings.</p>