I thought we did it just to be safe! Now I don't remember. I am getting old!
Update:
You are right. Found this in qsetting.cpp history on qtbase on github.
https://github.com/qt/qtbase/commit/...564d07e02a90b7
So to convert a Qt6 ini file to Qt5 we must read it as utf-8 and then percent encode..