История изменений
Исправление sigurd, (текущая версия) :
Qt не знает такой кодировки, поэтому ничего не перекодирует!
Qt uses Unicode to store, draw and manipulate strings. In many situations you may wish to deal with data that uses a different encoding. For example, most Japanese documents are still stored in Shift-JIS or ISO 2022-JP, while Russian users often have their documents in KOI8-R or Windows-1251
Никаких CP1251 в перечне кодеков нет! Только Windows-1251 https://doc.qt.io/qt-5/qtextcodec.html
Исправление sigurd, :
Qt не знает такой кодировки, поэтому ничего не перекодирует!
Qt uses Unicode to store, draw and manipulate strings. In many situations you may wish to deal with data that uses a different encoding. For example, most Japanese documents are still stored in Shift-JIS or ISO 2022-JP, while Russian users often have their documents in KOI8-R or Windows-1251
Никаких CP1251 в перечне кодеков нет! Только Windows-1251
Исходная версия sigurd, :
Qt не знает такой кодировки, поэтому ничего не перекодирует!
Qt uses Unicode to store, draw and manipulate strings. In many situations you may wish to deal with data that uses a different encoding. For example, most Japanese documents are still stored in Shift-JIS or ISO 2022-JP, while Russian users often have their documents in KOI8-R or Windows-1251
Никаких CP1251 нет! Только Windows-1251