1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
|
/***************************************************************************
khe.h - description
-------------------
begin : Mon Jul 14 2003
copyright : (C) 2003 by Friedrich W. H. Kossebau
email : Friedrich.W.H@Kossebau.de
***************************************************************************/
/***************************************************************************
* *
* This library is free software; you can redistribute it and/or *
* modify it under the terms of the GNU Library General Public *
* License version 2 as published by the Free Software Foundation. *
* *
***************************************************************************/
#ifndef KHE_KHE_H
#define KHE_KHE_H
// here we collect all general data
// let's see how much it gets ;)
namespace KHE
{
enum KCoding { HexadecimalCoding=0, DecimalCoding=1, OctalCoding=2, BinaryCoding=3, MaxCodingId=0xFFFF };
static const int NoOfCodings = 4;
/** */
enum KEncoding
{
/** the coding of your shell */
LocalEncoding=0,
/** ASCII encoding, also known as Latin1 */
ISO8859_1Encoding,
/** */
ISO8859_2Encoding,
/** */
ISO8859_3Encoding,
/** */
ISO8859_4Encoding,
/** */
ISO8859_5Encoding,
/** */
ISO8859_6Encoding,
/** */
ISO8859_7Encoding,
/** */
ISO8859_8Encoding,
/** */
ISO8859_8_IEncoding,
/** */
ISO8859_9Encoding,
/** */
ISO8859_11Encoding,
/** */
ISO8859_13Encoding,
/** */
ISO8859_15Encoding,
/** */
CP1250Encoding,
/** */
CP1251Encoding,
/** */
CP1252Encoding,
/** */
CP1253Encoding,
/** */
CP1254Encoding,
/** */
CP1255Encoding,
/** */
CP1256Encoding,
/** */
CP1257Encoding,
/** */
CP1258Encoding,
/** */
IBM850Encoding,
/** */
IBM866Encoding,
/** */
KOI8_REncoding,
/** */
KOI8_UEncoding,
/** the most common EBCDIC codepage */
EBCDIC1047Encoding,
/** Offset for own encodings which are bound in by plugins */
StartOfOwnEncoding=0x8000,
/** this should enable extension without breaking binary compatibility */
MaxEncodingId=0xFFFF
};
}
#endif
|