#include "defs.h"
Go to the source code of this file.
Namespaces | |
| namespace | Encodings |
Defines | |
| #define | ENCODING_NAMES |
| List of encoding names. More... | |
| #define | LIST_ENCODINGS |
| List the names of the encodings. More... | |
This file contains definitions of types and macros that are relevant to character encodings.
Definition in file encodings.h.
|
|
Value: {"UTF-8", Encodings::UTF_8}, \
{"UTF-16", Encodings::UTF_16}, \
{"US-ASCII", Encodings::US_ASCII}, \
{"ISO-8859-1", Encodings::ISO_8859_1}, \
{"ISO-8859-2", Encodings::ISO_8859_2}, \
{"ISO-8859-3", Encodings::ISO_8859_3}, \
{"ISO-8859-4", Encodings::ISO_8859_4}, \
{"ISO-8859-5", Encodings::ISO_8859_5}, \
{"ISO-8859-6", Encodings::ISO_8859_6}, \
{"ISO-8859-7", Encodings::ISO_8859_7}, \
{"ISO-8859-8", Encodings::ISO_8859_8}, \
{"ISO-8859-9", Encodings::ISO_8859_9}, \
{"ISO-8859-10", Encodings::ISO_8859_10}, \
{"ISO-8859-11", Encodings::ISO_8859_11}, \
{"ISO-8859-13", Encodings::ISO_8859_13}, \
{"ISO-8859-14", Encodings::ISO_8859_14}, \
{"ISO-8859-15", Encodings::ISO_8859_15}, \
{"CP-1250", Encodings::CP_1250}, \
{"CP-1251", Encodings::CP_1251}, \
{"CP-1252", Encodings::CP_1252}, \
{"CP-1253", Encodings::CP_1253}, \
{"CP-1254", Encodings::CP_1254}, \
{"CP-1255", Encodings::CP_1255}, \
{"CP-1256", Encodings::CP_1256}, \
{"CP-1257", Encodings::CP_1257}, \
{"CP-1258", Encodings::CP_1258}, \
{"KOI8-R", Encodings::KOI8_R}, \
{"KOI8-V", Encodings::KOI8_V}, \
\
{0, Encodings::Unknown}
To be used for the initialization of an encoding names array. Definition at line 98 of file encodings.h. Referenced by TextCodec::knowsMIB, and main. |
|
|
Value: { \
Encodings::EncodingName encodingNames[] = { ENCODING_NAMES }; \
size_t i = 0; \
\
while (encodingNames[i].name && encodingNames[i+1].name) \
{ \
OUTPUT(encodingNames[i].name << ", "); \
i++; \
} \
if (encodingNames[i].name) \
{ \
OUTPUTNL(encodingNames[i].name); \
} \
}
Displays a comma-separated list of encoding names. Definition at line 137 of file encodings.h. Referenced by main. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002