Hello,

I want to read settings from an INI file, which is in UTF16-LE format. After reading the docs I thought it is possible by something like this:

Qt Code:
  1. QSettings settings("test.ini", QSettings::IniFormat);
  2. settings.setIniCodec("UTF-16LE");
  3. settings.value("animal/snake", 1024).toString();
To copy to clipboard, switch view to plain text mode 

But when I try to read values, it looks like he is still reading ascii format. Does anyone know what I'm doing wrong or what I'm missing?