QTextEncoder露
- PyQt5.QtCore.QTextEncoder
Description露
The QTextEncoder class provides a state-based encoder.
A text encoder converts text from Unicode into an encoded text format using a specific codec.
The encoder converts Unicode into another format, remembering any state that is required between calls.
See also
Methods露
- __init__(QTextCodec)
TODO
- __init__(QTextCodec, Union[ConversionFlags, ConversionFlag])
Constructs a text encoder for the given codec and conversion flags.
- fromUnicode(str) → QByteArray
Converts the Unicode string str into an encoded QByteArray.