title: How to use extended character set in reading ini file? (C++ lang.)
body: <p>I face one little problem. I am from country that uses extended character set in language (specifically Latin Extended-A due to characters like š,č,ť,ý,á,...).</p>
  
  <p>I have ini file containing these characters and I would like to read them into program. Unfortunatelly, it is not working with getPrivateProfileStringW or ...A.</p>
  
  <p>Here is part of source code. I hope it will help someone to find solution, because I am getting a little desperate. :-)</p>
  
  <p>SOURCE CODE:</p>
  
  <pre><code>wchar_t pcMyExtendedString[200];    
  
  GetPrivateProfileStringA(
               "CATEGORY_NAME",
               "SECTION_NAME",
               "error",
               pcMyExtendedString,
               200,
               PATH_TO_INI_FILE
               );
  </code></pre>
  
  <p>INI FILE:</p>
  
  <pre><code> [CATEGORY_NAME]
   SECTION_NAME= ľščťžýáíé
  </code></pre>
  
  <p>Characters ý,á,í,é are readed correctly - they are from character set <em>Latin-1 Supplement</em>. Their hexa values are correct (0xFD, 0xE1, 0xED,...).</p>
  
  <p>Characters ľ,š,č,ť,ž are readed incorrectly - they are from character set <em>Latin Extended-A</em> Their hexa values are incorrect (0xBE, 0x9A, 0xE8,...). Expected are values like 0x013E, 0x0161, 0x010D, ...</p>
  
  <p>How could be this done? Is it possible or should I avoid these characters at all? </p>