title: How to detect Windows-1251 encoded characters
body: <p>Is there a proper way to detect the <code>Windows-1251</code> encoded characters ? </p>
  
  <p>IMO, unlike multiple-byte native characters, <code>Windows-1251</code> is an 8-bit character encoding, so it's impossible to distinguish it from other 8-bit native characters like <code>latin1</code>. If I am wrong on this, please correct me.</p>
  
  <p>The first clue to me is <code>locale</code>, I take all the <code>non-ascii</code> characters as <code>Windows-1251</code> if the locale is <code>ru</code>.</p>
  
  <p>Are there any better ways ? </p>
  
  <p>UPDATE:</p>
  
  <p>Here is the context of my question, there are some <code>Windows-1251</code> encoded characters in the <code>ID3</code> info of a MP3 files, I have to detect the <code>Windows-1251</code> encoded characters and then convert them to UTF-16 using <code>icu4c</code> , otherwise those <code>Windows-1251</code> encoded characters will represented unreadable on my system(<code>Android</code>). I deem maybe some of you have better ways.</p>