libkdepim

QStrictUtf7Codec Class Reference

This is a version of QUtf7Codec, which should only be used in MIME transfer. More...

#include <qutf7codec.h>

Inheritance diagram for QStrictUtf7Codec:

QUtf7Codec

List of all members.


Public Member Functions

const char * name () const
int mibEnum () const
TQTextEncoder * makeEncoder () const

Detailed Description

This is a version of QUtf7Codec, which should only be used in MIME transfer.

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.

A variant of QUtf7Codec, which protectes certain characters in MIME transport

Author:
Marc Mutz <mutz@kde.org>

Definition at line 86 of file qutf7codec.h.


The documentation for this class was generated from the following files: