title: Mystery UTF-8-like encoding
body: <p>I've been given a file that is <em>supposedly</em> in UTF-8, but there are some weird encodings for some of the non-english characters.  For example, in this mystery encoding, the Hangul string </p>
  
  <blockquote>
    <p>한국경북영덕군강구면 </p>
  </blockquote>
  
  <p>is encoded as: </p>
  
  <blockquote>
    <p>0xED959C 0xEAB5AD 0xEAB2BD <strong>0xEBB63F</strong> <strong>0xEC983F</strong> <strong>0xEB3F95</strong> 0xEAB5B0 0xEAB095 0xEAB5AC 0xEBA9B4 </p>
  </blockquote>
  
  <p>(differences in bold) rather than the standard UTF-8:</p>
  
  <blockquote>
    <p>0xED959C 0xEAB5AD 0xEAB2BD <strong>0xEBB681</strong> <strong>0xEC9881</strong> <strong>0xEB8D95</strong> 0xEAB5B0 0xEAB095 0xEAB5AC 0xEBA9B4"</p>
  </blockquote>
  
  <p>I'm seeing the same phenomena with Cyrillic and Chinese characters--some characters have the same encoding as UTF-8, but some are different.  The garbled characters have the same byte width as the non garbled ones and I've verified they aren't part of an extension set.  Also, I've already verified this is <strong>not</strong> Java "Modified UTF-8".  </p>
  
  <p>Any other ideas as to what this may be?  </p>
  
  <p>BTW: I don't have access to the code or people who originally wrote the file.</p>
  
  <p>Also, I'm on Mac 10.11.6 in case that has anything to do with it.</p>