QTextEncoderΒΆ

class PyQt5.QtCore.QTextEncoder

The C++ documentation can be found here.