xref: /aosp_15_r20/external/mtools/codepages.c (revision d5c9a868b113e0ec0db2f27bc2ce8a253e77c4b0)
1*d5c9a868SElliott Hughes /*  Copyright 1996,1997,1999,2001,2002,2008,2009 Alain Knaff.
2*d5c9a868SElliott Hughes  *  This file is part of mtools.
3*d5c9a868SElliott Hughes  *
4*d5c9a868SElliott Hughes  *  Mtools is free software: you can redistribute it and/or modify
5*d5c9a868SElliott Hughes  *  it under the terms of the GNU General Public License as published by
6*d5c9a868SElliott Hughes  *  the Free Software Foundation, either version 3 of the License, or
7*d5c9a868SElliott Hughes  *  (at your option) any later version.
8*d5c9a868SElliott Hughes  *
9*d5c9a868SElliott Hughes  *  Mtools is distributed in the hope that it will be useful,
10*d5c9a868SElliott Hughes  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11*d5c9a868SElliott Hughes  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12*d5c9a868SElliott Hughes  *  GNU General Public License for more details.
13*d5c9a868SElliott Hughes  *
14*d5c9a868SElliott Hughes  *  You should have received a copy of the GNU General Public License
15*d5c9a868SElliott Hughes  *  along with Mtools.  If not, see <http://www.gnu.org/licenses/>.
16*d5c9a868SElliott Hughes  *
17*d5c9a868SElliott Hughes  */
18*d5c9a868SElliott Hughes #include "config.h"
19*d5c9a868SElliott Hughes 
20*d5c9a868SElliott Hughes #ifndef HAVE_ICONV_H
21*d5c9a868SElliott Hughes #include "codepage.h"
22*d5c9a868SElliott Hughes 
23*d5c9a868SElliott Hughes #ifdef USE_MOCK_CODEPAGES
24*d5c9a868SElliott Hughes Codepage_t codepages[]= {
25*d5c9a868SElliott Hughes         { 850,
26*d5c9a868SElliott Hughes           ""
27*d5c9a868SElliott Hughes         },
28*d5c9a868SElliott Hughes };
29*d5c9a868SElliott Hughes #else
30*d5c9a868SElliott Hughes Codepage_t codepages[]= {
31*d5c9a868SElliott Hughes 	{ 437,
32*d5c9a868SElliott Hughes 	  "����������������"
33*d5c9a868SElliott Hughes 	  "����������ܢ��Pf"
34*d5c9a868SElliott Hughes 	  "�����Ѫ��r������"
35*d5c9a868SElliott Hughes 	  "_______________�"
36*d5c9a868SElliott Hughes 	  "________________"
37*d5c9a868SElliott Hughes 	  "________________"
38*d5c9a868SElliott Hughes 	  "abgpSs�tftod��_N"
39*d5c9a868SElliott Hughes 	  "=�<>||�~���Vn�__"
40*d5c9a868SElliott Hughes 	},
41*d5c9a868SElliott Hughes 
42*d5c9a868SElliott Hughes 	{ 819,
43*d5c9a868SElliott Hughes 	  "________________"
44*d5c9a868SElliott Hughes 	  "________________"
45*d5c9a868SElliott Hughes 	  "����������������"
46*d5c9a868SElliott Hughes 	  "����������������"
47*d5c9a868SElliott Hughes 	  "����������������"
48*d5c9a868SElliott Hughes 	  "����������������"
49*d5c9a868SElliott Hughes 	  "����������������"
50*d5c9a868SElliott Hughes 	  "����������������"
51*d5c9a868SElliott Hughes 	},
52*d5c9a868SElliott Hughes 
53*d5c9a868SElliott Hughes 	{ 850,
54*d5c9a868SElliott Hughes 	  "����������������"
55*d5c9a868SElliott Hughes 	  "���������������_"
56*d5c9a868SElliott Hughes 	  "�����Ѫ���������"
57*d5c9a868SElliott Hughes 	  "_____����____���"
58*d5c9a868SElliott Hughes 	  "______��_______�"
59*d5c9a868SElliott Hughes 	  "�����i���____|I_"
60*d5c9a868SElliott Hughes 	  "�����յ������ޯ�"
61*d5c9a868SElliott Hughes 	  "��_�����������__"
62*d5c9a868SElliott Hughes 	},
63*d5c9a868SElliott Hughes 
64*d5c9a868SElliott Hughes 	{ 852,
65*d5c9a868SElliott Hughes 	  "�����uc�l����Z�C"
66*d5c9a868SElliott Hughes 	  "�Ll��LlSs��TtL�c"
67*d5c9a868SElliott Hughes 	  "����AaZzEe zCs��"
68*d5c9a868SElliott Hughes 	  "_____��ES____Zz�"
69*d5c9a868SElliott Hughes 	  "______Aa_______�"
70*d5c9a868SElliott Hughes 	  "��D�d���e_r__TU_"
71*d5c9a868SElliott Hughes 	  "���Nn�SsR�rU��t�"
72*d5c9a868SElliott Hughes 	  "�~.~~�������uRr_"
73*d5c9a868SElliott Hughes 	},
74*d5c9a868SElliott Hughes 
75*d5c9a868SElliott Hughes 	{ 860,
76*d5c9a868SElliott Hughes 	  "����������������"
77*d5c9a868SElliott Hughes 	  "����������ܢ��P�"
78*d5c9a868SElliott Hughes 	  "�����Ѫ��Ҭ�����"
79*d5c9a868SElliott Hughes 	  "_______________�"
80*d5c9a868SElliott Hughes 	  "________________"
81*d5c9a868SElliott Hughes 	  "________________"
82*d5c9a868SElliott Hughes 	  "abgpSs�tftod��_N"
83*d5c9a868SElliott Hughes 	  "=�<>||�~���Vn�__"
84*d5c9a868SElliott Hughes 	},
85*d5c9a868SElliott Hughes 
86*d5c9a868SElliott Hughes 	{ 863,
87*d5c9a868SElliott Hughes 	  "������������_��"
88*d5c9a868SElliott Hughes 	  "����������ܢ���f"
89*d5c9a868SElliott Hughes 	  "|���� ���r������"
90*d5c9a868SElliott Hughes 	  "_______________�"
91*d5c9a868SElliott Hughes 	  "________________"
92*d5c9a868SElliott Hughes 	  "________________"
93*d5c9a868SElliott Hughes 	  "abgpSs�tftod��_N"
94*d5c9a868SElliott Hughes 	  "=�<>||�~���Vn�__"
95*d5c9a868SElliott Hughes 	},
96*d5c9a868SElliott Hughes 
97*d5c9a868SElliott Hughes 	{ 865,
98*d5c9a868SElliott Hughes 	  "����������������"
99*d5c9a868SElliott Hughes 	  "��������������Pf"
100*d5c9a868SElliott Hughes 	  "�����Ѫ��r������"
101*d5c9a868SElliott Hughes 	  "_______________�"
102*d5c9a868SElliott Hughes 	  "________________"
103*d5c9a868SElliott Hughes 	  "________________"
104*d5c9a868SElliott Hughes 	  "abgpSs�tftod��_N"
105*d5c9a868SElliott Hughes 	  "=�<>||�~���Vn�__",
106*d5c9a868SElliott Hughes 	},
107*d5c9a868SElliott Hughes 
108*d5c9a868SElliott Hughes 	/* Taiwanese (Chinese Complex Character) support */
109*d5c9a868SElliott Hughes 	{ 950,
110*d5c9a868SElliott Hughes 	 "����������������"
111*d5c9a868SElliott Hughes 	 "����������������"
112*d5c9a868SElliott Hughes 	 "����������������"
113*d5c9a868SElliott Hughes 	 "����������������"
114*d5c9a868SElliott Hughes 	 "����������������"
115*d5c9a868SElliott Hughes 	 "����������������"
116*d5c9a868SElliott Hughes 	 "����������������"
117*d5c9a868SElliott Hughes 	 "����������������",
118*d5c9a868SElliott Hughes 	},
119*d5c9a868SElliott Hughes 
120*d5c9a868SElliott Hughes 
121*d5c9a868SElliott Hughes 	{ 0 }
122*d5c9a868SElliott Hughes };
123*d5c9a868SElliott Hughes #endif
124*d5c9a868SElliott Hughes 
125*d5c9a868SElliott Hughes #else
126*d5c9a868SElliott Hughes /* Should down  ISO C forbids an empty translation unit warning [-Wpedantic]: */
127*d5c9a868SElliott Hughes typedef int make_iso_compilers_happy;
128*d5c9a868SElliott Hughes #endif
129