title: does (w)ifstream support different encodings
body: <p>When I read a text file to a wide character string (std::wstring) using an wifstream, does the stream implementation support different encodings - i.e. can it be used to read e.g. ASCII, UTF-8, and UTF-16 files?</p>
  
  <p>If not, what would I have to do?</p>
  
  <p>(I need to read the entire file, if that makes a difference)</p>