TQStrictUtf7Codec Class Reference
#include <qutf7codec.h>
Inheritance diagram for TQStrictUtf7Codec:
Public Member Functions | |
const char * | name () const |
int | mibEnum () const |
TQTextEncoder * | makeEncoder () const |
Public Member Functions inherited from TQUtf7Codec | |
int | mibEnum () const |
const char * | name () const |
const char * | mimeName () const |
TQTextDecoder * | makeDecoder () const |
TQTextEncoder * | makeEncoder () const |
bool | canEncode (TQChar) const |
bool | canEncode (const TQString &) const |
int | heuristicContentMatch (const char *chars, int len) const |
Detailed Description
This is a version of TQUtf7Codec, which should only be used in MIME transfer.
It differs from TQUtf7Codec only in that the encoder escapes additional characters (the RFC2152 "optional direct set"), which might not be allowed in RFC822/RFC2047 header fields.
You should only use this codec for encoding, since it's output is pure UTF-7 and can equally well be decoded by TQUtf7Codec's decoder.
To distinguish between the two variants, this class has MIB enum -1012 (the nagative of UTF-7) and the somewhat awkward name "X-QT-UTF-7-STRICT". The MIME preferred charset name is still "UTF-7", though.
A variant of TQUtf7Codec, which protectes certain characters in MIME transport
Definition at line 84 of file qutf7codec.h.
The documentation for this class was generated from the following files: