source: trunk/third/kermit/ckuxla.h @ 20081

Revision 20081, 3.8 KB checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20080, which included commits to RCS files with non-trunk default branches.
Line 
1/*
2  File CKUXLA.H
3
4  C-Kermit language and character-set support for UNIX, VMS, OS/2,
5  AOS/VS, and other systems.
6
7  This file should be used as a template for the language support files
8  for other C-Kermit implementations -- Macintosh, etc.
9*/
10/*
11  Author: Frank da Cruz <fdc@columbia.edu>,
12  Columbia University Academic Information Systems, New York City.
13
14  Copyright (C) 1985, 2002,
15    Trustees of Columbia University in the City of New York.
16    All rights reserved.  See the C-Kermit COPYING.TXT file or the
17    copyright text in the ckcmai.c module for disclaimer and permissions.
18
19*/
20
21#ifndef CKUXLA_H
22#define CKUXLA_H
23
24/* Codes for file character sets */
25
26/* ISO 646 and other ISO-646-like 7-bit sets */
27
28#define FC_USASCII 0   /* US ASCII */
29#define FC_UKASCII 1   /* United Kingdom ASCII */
30#define FC_DUASCII 2   /* Dutch ISO 646 NRC */
31#define FC_FIASCII 3   /* Finnish ISO 646 NRC */
32#define FC_FRASCII 4   /* French ISO 646 NRC */
33#define FC_FCASCII 5   /* French Canadian ISO 646 NRC */
34#define FC_GEASCII 6   /* German ISO 646 NRC */
35#define FC_HUASCII 7   /* Hungarian ISO 646 NRC */
36#define FC_ITASCII 8   /* Italian *ISO 646 NRC */
37#define FC_NOASCII 9   /* Norwegian and Danish ISO 646 NRC */
38#define FC_POASCII 10  /* Portuguese ISO 646 NRC */
39#define FC_SPASCII 11  /* Spanish ISO 646 NRC */
40#define FC_SWASCII 12  /* Swedish ISO 646 NRC */
41#define FC_CHASCII 13  /* Swiss ISO 646 NRC */
42
43/* 8-bit Roman character sets */
44
45#define FC_1LATIN  14  /* ISO 8859-1 Latin Alphabet 1 */
46#define FC_2LATIN  15  /* ISO 8859-2 Latin Alphabet 2 */
47#define FC_DECMCS  16  /* DEC Multinational Character Set */
48#define FC_NEXT    17  /* NeXT workstation character set */
49#define FC_CP437   18  /* IBM PC Code Page 437 */
50#define FC_CP850   19  /* IBM PC Code Page 850 */
51#define FC_CP852   20  /* IBM PC Code Page 852 */
52#define FC_APPQD   21  /* Apple Quickdraw */
53#define FC_DGMCS   22  /* Data General International Character Set */
54#define FC_HPR8    23  /* HP Roman8 */
55
56/* Cyrillic sets */
57
58#define FC_CYRILL  24  /* ISO 8859-5 Latin/Cyrillic */
59#define FC_CP866   25  /* PC Code Page 866 Cyrillic */
60#define FC_KOI7    26  /* KOI-7 = Short KOI */
61#define FC_KOI8    27  /* KOI-8 */
62
63/* Japanese sets */
64
65#define FC_JIS7    28  /* JIS-7 */
66#define FC_SHJIS   29  /* Shifted JIS = CP932 */
67#define FC_JEUC    30  /* Japanese EUC (JAE) */
68#define FC_JDEC    31  /* Japanese DEC Kanji */
69
70/* Hebrew sets */
71
72#define FC_HE7     32  /* 7-Bit DEC Hebrew */
73#define FC_HEBREW  33  /* 8-Bit ISO 8859-8 Latin/Hebrew */
74#define FC_CP862   34  /* Hebrew PC Code Page */
75
76/* Greek sets */
77
78#define FC_ELOT    35  /* 7-Bit ELOT 927 Greek */
79#define FC_GREEK   36  /* 8-Bit ISO 8859-7 Latin/Greek */
80#define FC_CP869   37  /* Greek PC Code Page */
81
82/* New Roman sets with Euro symbol */
83
84#define FC_9LATIN  38  /* ISO 8859-15 Latin Alphabet 9 */
85#define FC_CP923   38  /* Same as Latin-9 */
86#define FC_CP858   39  /* Western Europe with Euro */
87
88/* Other new additions */
89
90#define FC_CP855   40  /* Cyrillic PC Code Page */
91#define FC_CP1251  41  /* Cyrillic Windows */
92#define FC_BULGAR  42  /* Bulgarian PC code page */
93#define FC_CP1250  43  /* Latin 2 Windows (different from Latin-2)*/
94#define FC_MAZOVIA 44  /* Polish Mazovia PC code page */
95
96/* Unicode */
97
98#define FC_UCS2    45  /* ISO-10646 / Unicode UCS-2 */
99#define FC_UTF8    46  /* ISO-10646 / Unicode UTF-8 */
100
101/* Recent additions */
102
103#define FC_KOI8R   47  /* KOI8-R (RFC1489) - Russian + boxdrawing */
104#define FC_KOI8U   48  /* KOI8-U (RFC2319) - Ukrainian + boxdrawing */
105#define FC_CP1252  49  /* Latin 1 Windows */
106
107#define MAXFCSETS  49  /* Highest file character set number */
108
109#ifdef OS2
110#define FC_DECSPEC 253 /* Not real character-sets */
111#define FC_DECTECH 252
112#endif /* OS2 */
113
114#ifdef UNICODE
115_PROTOTYP( VOID initxlate, (int, int) );
116#endif /* UNICODE */
117
118#endif /* CKUXLA_H */
Note: See TracBrowser for help on using the repository browser.