Eneboo - Documentación para desarrolladores
|
The QTextDecoder class provides a state-based decoder. The decoder converts a text format into Unicode, remembering any state that is required between calls. Más...
#include <qtextcodec.h>
Métodos públicos | |
virtual | ~QTextDecoder () |
virtual QString | toUnicode (const char *chars, int len)=0 |
virtual | ~QTextDecoder () |
virtual QString | toUnicode (const char *chars, int len)=0 |
The QTextDecoder class provides a state-based decoder.
The decoder converts a text format into Unicode, remembering any state that is required between calls.
QTextDecoder::~QTextDecoder | ( | ) | [virtual] |
Destroys the decoder.
virtual QTextDecoder::~QTextDecoder | ( | ) | [virtual] |
Converts the first len bytes in chars to Unicode, returning the result.
If not all characters are used (e.g. if only part of a multi-byte encoding is at the end of the characters), the decoder remembers enough state to continue with the next call to this function.
Implementado en QBig5Decoder, QBig5hkscsDecoder, QEucJpDecoder, QEucKrDecoder, QGb18030Decoder, QGbkDecoder, QGb2312Decoder, QJisDecoder, QSjisDecoder, QTextStatelessDecoder, QTextCodecFromIODDecoder, QUtf8Decoder y QUtf16Decoder.