Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to set the codec for reading ASCII file?
Yash001 last edited by Yash001
I am using QTextStream for reading ASCII file. Do I require to change codec?
QTextStream importStream; importStream.setDevice(&textFile); importStream.setCodec("what is name of ASCII codec");
what is name should i need to give in
setCodec()for reading ASCII file?
you can use
UTF-8which "contains" the first 128 ASCII characters
Yash001 last edited by
@raven-worx Thank you. I will use