xref: /haiku/src/libs/iconv/cns11643.h (revision aef5731f38da6f7b913e0f64acd8a40555491ce5)
1*aef5731fSOliver Tappe /*
2*aef5731fSOliver Tappe  * Copyright (C) 1999-2001 Free Software Foundation, Inc.
3*aef5731fSOliver Tappe  * This file is part of the GNU LIBICONV Library.
4*aef5731fSOliver Tappe  *
5*aef5731fSOliver Tappe  * The GNU LIBICONV Library is free software; you can redistribute it
6*aef5731fSOliver Tappe  * and/or modify it under the terms of the GNU Library General Public
7*aef5731fSOliver Tappe  * License as published by the Free Software Foundation; either version 2
8*aef5731fSOliver Tappe  * of the License, or (at your option) any later version.
9*aef5731fSOliver Tappe  *
10*aef5731fSOliver Tappe  * The GNU LIBICONV Library is distributed in the hope that it will be
11*aef5731fSOliver Tappe  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
12*aef5731fSOliver Tappe  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13*aef5731fSOliver Tappe  * Library General Public License for more details.
14*aef5731fSOliver Tappe  *
15*aef5731fSOliver Tappe  * You should have received a copy of the GNU Library General Public
16*aef5731fSOliver Tappe  * License along with the GNU LIBICONV Library; see the file COPYING.LIB.
17*aef5731fSOliver Tappe  * If not, write to the Free Software Foundation, Inc., 51 Franklin Street,
18*aef5731fSOliver Tappe  * Fifth Floor, Boston, MA 02110-1301, USA.
19*aef5731fSOliver Tappe  */
20*aef5731fSOliver Tappe 
21*aef5731fSOliver Tappe /*
22*aef5731fSOliver Tappe  * CNS 11643-1992
23*aef5731fSOliver Tappe  */
24*aef5731fSOliver Tappe 
25*aef5731fSOliver Tappe /* ISO-2022-CN and EUC-TW use CNS 11643-1992 planes 1 to 7. We also
26*aef5731fSOliver Tappe  * have a table for the older plane 15. We use a trick to keep the
27*aef5731fSOliver Tappe  * Unicode -> CNS 11643 table as small as possible (see cns11643_inv.h).
28*aef5731fSOliver Tappe  */
29*aef5731fSOliver Tappe 
30*aef5731fSOliver Tappe #include "cns11643_1.h"
31*aef5731fSOliver Tappe #include "cns11643_2.h"
32*aef5731fSOliver Tappe #include "cns11643_3.h"
33*aef5731fSOliver Tappe #include "cns11643_4.h"
34*aef5731fSOliver Tappe #include "cns11643_5.h"
35*aef5731fSOliver Tappe #include "cns11643_6.h"
36*aef5731fSOliver Tappe #include "cns11643_7.h"
37*aef5731fSOliver Tappe #include "cns11643_15.h"
38*aef5731fSOliver Tappe #include "cns11643_inv.h"
39*aef5731fSOliver Tappe 
40*aef5731fSOliver Tappe /* Returns the plane number (1,...,7,15) in r[0], the two bytes in r[1],r[2]. */
41*aef5731fSOliver Tappe #define cns11643_wctomb cns11643_inv_wctomb
42