title: non ASCII SSIDs in android
body: <p><a href="https://stackoverflow.com/a/5017144/281545">Apparently</a> SSIDs can contain UTF-8 chars and also control characters etc. IIUC to contain UTF-8 chars they must specify the SSIDEncoding field. I was under the impression that I can only get ASCII bytes till now.</p>
  
  <p>How should I handle the situation in Android ?  Namely, how can I check the SSIDEncoding field from the ScanResult ? Do I need to ? Also what does  <code>ScanResult.SSID</code> contain in these cases (<em>including the case an SSID includes non printable characters</em>) ?</p>
  
  <p>Related</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/9831055/why-cant-i-detect-a-wifi-ssid-with-unicode-characters-on-android">Why can&#39;t I detect a wifi SSID with unicode characters on Android?</a></li>
  </ul>