/*T
\let\\=\par
\parindent=0pt
\def\sline{\hbox to \hsize{\hrulefill}}
\def\newpage{\vfill\eject}
FILE: {\tt ctable.c}\\
AUTH: P\'eter Verh\'as\\
DATE: 94-04-04\\
CONTENTS:\\
Global tables that contain the character codes of the special Hungarian
accented letters for Iso-latin-2, CWI and 852 code page.
*/

/*T
The internal representation of the accented letters are as the following:

1 \'A      \\
2 \'a      \\
3 \'E      \\
4 \'e      \\
5 \'I      \\
6 \'\i     \\
7 \'O      \\
8 \'o      \\
9 \"O      \\
10 \"o     \\
11 \H O    \\
12 \H o    \\
13 \'U     \\
14 \'u     \\
15 \"U     \\
16 \"u     \\
17 \H U    \\
18 \H u    \\

The tables are used to convert to and from different international character
sets.
*/
int tTable[3][19]={
  {/* CWI table */
   -1,143,160,144,130,140,161,149,162,153,148,167,147,151,163,154,129,152,150
  },               /* The value -1 is dummy just for indexing. */
  {/* IOS table */
   -1,193,225,201,233,205,237,211,243,214,246,213,245,218,250,220,252,219,251
  },
  {/* 852 table */
   -1,181,160,144,130,214,161,224,162,153,148,138,139,233,163,154,129,235,251
  }
  };
unsigned char fTable[3][128]={
  {/* CWI table */
     /*  00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, */
/* 8 */  00, 16,  4, 00, 00, 00, 00, 00, 00, 00, 00, 00,  5, 00, 00,  1,
/* 9 */   3, 00, 00, 12, 10,  7, 18, 13, 17,  9, 15, 00, 00, 00, 00, 00,
/* A */   2,  6,  8, 14, 00, 00, 00, 11, 00, 00, 00, 00, 00, 00, 00, 00,
/* B */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* C */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* D */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* E */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* F */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00
  },
  {/* ISO table */
     /*  00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, */
/* 8 */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* 9 */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* A */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* B */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* C */  00,  1, 00, 00, 00, 00, 00, 00, 00,  3, 00, 00, 00,  5, 00, 00,
/* D */  00, 00, 00,  7, 00, 11,  9, 00, 00, 00, 13, 17, 15, 00, 00, 00,
/* E */  00,  2, 00, 00, 00, 00, 00, 00, 00,  4, 00, 00, 00,  6, 00, 00,
/* F */  00, 00, 00,  8, 00, 12, 10, 00, 00, 00, 14, 18, 16, 00, 00, 00
  },
  {/* 852 table */
     /*  00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 0A, 0B, 0C, 0D, 0E, 0F, */
/* 8 */  00, 16,  4, 00, 00, 00, 00, 00, 00, 00, 11, 12, 00, 00, 00, 00,
/* 9 */   3, 00, 00, 00, 10, 00, 00, 00, 00,  9, 15, 00, 00, 00, 00, 00,
/* A */   2,  6,  8, 14, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* B */  00, 00, 00, 00, 00,  1, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* C */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* D */  00, 00, 00, 00, 00, 00,  5, 00, 00, 00, 00, 00, 00, 00, 00, 00,
/* E */   7, 00, 00, 00, 00, 00, 00, 00, 00, 13, 00, 17, 00, 00, 00, 00,
/* F */  00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 00, 18, 00, 00, 00, 00
  }
  };

