The QTextEncoder class provides a state-based encoder. 更多...
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.
Constructs a text encoder for the given codec .
Constructs a text encoder for the given codec and conversion flags .
该函数在 Qt 4.7 引入。
Converts the Unicode string str into an encoded QByteArray .