<div dir="ltr"><div>Updating an old program that in PyQt5 imported QTextCodec from QtCore, but with PyQt6 it is not found.</div><div><br></div><div>According to the Qt docs (<a href="https://doc.qt.io/qt-6/qtextcodec.html">https://doc.qt.io/qt-6/qtextcodec.html</a>) it is now part of the "Qt5 Core Compatibility APIs" but I don't find any such import package, nor any mention in the Qt6 differences page (<a href="https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html">https://www.riverbankcomputing.com/static/Docs/PyQt6/pyqt5_differences.html</a>).</div><div><br></div><div>I don't understand why this function, text re-encoding, would be deprecated. Did Qt6 add some better way to do it? Or where did it go in PyQt6?</div><div><br></div><div>Thanks for the insight,</div><div>Dave Cortesi<br></div><div><br></div></div>