libkdepim
QStrictUtf7Codec Class Reference
#include <qutf7codec.h>
Inheritance diagram for QStrictUtf7Codec:

Detailed Description
This is a version of QUtf7Codec, which should only be used in MIME transfer.A variant of QUtf7Codec, which protectes certain characters in MIME transport.It differs from QUtf7Codec 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 QUtf7Codec'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.
Definition at line 86 of file qutf7codec.h.
Public Member Functions | |
QStrictUtf7Codec () | |
const char * | name () const |
int | mibEnum () const |
QTextEncoder * | makeEncoder () const |
The documentation for this class was generated from the following files: