2 * CDE - Common Desktop Environment
4 * Copyright (c) 1993-2012, The Open Group. All rights reserved.
6 * These libraries and programs are free software; you can
7 * redistribute them and/or modify them under the terms of the GNU
8 * Lesser General Public License as published by the Free Software
9 * Foundation; either version 2 of the License, or (at your option)
12 * These libraries and programs are distributed in the hope that
13 * they will be useful, but WITHOUT ANY WARRANTY; without even the
14 * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 * PURPOSE. See the GNU Lesser General Public License for more
18 * You should have received a copy of the GNU Lesser General Public
19 * License along with these librararies and programs; if not, write
20 * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
21 * Floor, Boston, MA 02110-1301 USA
23 /* $XConsortium: charconv.h /main/3 1995/11/08 11:15:21 rswiston $ */
24 EXTERN M_WCHAR pc8_to_r8 [256]
27 '\000','\001','\002','\003','\004','\005','\006','\007','\010','\011',
28 '\012','\013','\014','\015','\016','\017','\020','\021','\022','\023',
29 '\024','\025','\026','\027','\030','\031','\032','\033','\034','\035',
30 '\036','\037','\040','\041','\042','\043','\044','\045','\046','\047',
31 '\050','\051','\052','\053','\054','\055','\056','\057','\060','\061',
32 '\062','\063','\064','\065','\066','\067','\070','\071','\072','\073',
33 '\074','\075','\076','\077','\100','\101','\102','\103','\104','\105',
34 '\106','\107','\110','\111','\112','\113','\114','\115','\116','\117',
35 '\120','\121','\122','\123','\124','\125','\126','\127','\130','\131',
36 '\132','\133','\134','\135','\136','\137','\140','\141','\142','\143',
37 '\144','\145','\146','\147','\150','\151','\152','\153','\154','\155',
38 '\156','\157','\160','\161','\162','\163','\164','\165','\166','\167',
39 '\170','\171','\172','\173','\174','\175','\176','\177','\264','\317',
40 '\305','\300','\314','\310','\324','\265','\301','\315','\311','\335',
41 '\321','\331','\330','\320','\334','\327','\323','\302','\316','\312',
42 '\303','\313','\357','\332','\333','\277','\273','\274','\120','\276',
43 '\304','\325','\306','\307','\267','\266','\371','\372','\271','\055',
44 '\052','\370','\367','\270','\373','\375','\374','\374','\374','\174',
45 '\053','\043','\053','\053','\043','\043','\174','\043','\043','\053',
46 '\043','\053','\053','\053','\053','\053','\055','\053','\043','\053',
47 '\043','\043','\043','\043','\043','\075','\043','\043','\053','\043',
48 '\053','\053','\043','\043','\053','\053','\043','\053','\053','\374',
49 '\374','\374','\374','\374','\052','\336','\052','\052','\052','\052',
50 '\363','\052','\052','\052','\052','\052','\052','\326','\052','\052',
51 '\052','\376','\052','\052','\174','\174','\057','\176','\263','\362',
52 '\362','\052','\052','\052','\374','\377'
57 EXTERN M_WCHAR pc8dn_to_r8 [256]
60 '\000','\001','\002','\003','\004','\005','\006','\007','\010','\011',
61 '\012','\013','\014','\015','\016','\017','\020','\021','\022','\023',
62 '\024','\025','\026','\027','\030','\031','\032','\033','\034','\035',
63 '\036','\037','\040','\041','\042','\043','\044','\045','\046','\047',
64 '\050','\051','\052','\053','\054','\055','\056','\057','\060','\061',
65 '\062','\063','\064','\065','\066','\067','\070','\071','\072','\073',
66 '\074','\075','\076','\077','\100','\101','\102','\103','\104','\105',
67 '\106','\107','\110','\111','\112','\113','\114','\115','\116','\117',
68 '\120','\121','\122','\123','\124','\125','\126','\127','\130','\131',
69 '\132','\133','\134','\135','\136','\137','\140','\141','\142','\143',
70 '\144','\145','\146','\147','\150','\151','\152','\153','\154','\155',
71 '\156','\157','\160','\161','\162','\163','\164','\165','\166','\167',
72 '\170','\171','\172','\173','\174','\175','\176','\177','\264','\317',
73 '\305','\300','\314','\310','\324','\265','\301','\315','\311','\335',
74 '\321','\331','\330','\320','\334','\327','\323','\302','\316','\312',
75 '\303','\313','\357','\332','\333','\326','\273','\322','\114','\154',
76 '\304','\325','\306','\307','\267','\266','\352','\351','\271','\342',
77 '\341','\154','\156','\270','\052','\272','\374','\374','\374','\174',
78 '\053','\043','\053','\053','\043','\043','\174','\043','\043','\053',
79 '\043','\053','\053','\053','\053','\053','\055','\053','\043','\053',
80 '\043','\043','\043','\043','\043','\075','\043','\043','\053','\043',
81 '\053','\053','\043','\043','\053','\053','\043','\053','\053','\374',
82 '\374','\374','\374','\374','\052','\336','\052','\052','\052','\052',
83 '\363','\052','\052','\052','\052','\052','\052','\326','\052','\052',
84 '\052','\376','\052','\052','\174','\174','\057','\176','\263','\362',
85 '\362','\052','\052','\052','\374','\377'
90 EXTERN M_WCHAR r8_to_pc8 [256]
93 '\000','\001','\002','\003','\004','\005','\006','\007','\010','\011',
94 '\012','\013','\014','\015','\016','\017','\020','\021','\022','\023',
95 '\024','\025','\026','\027','\030','\031','\032','\033','\034','\035',
96 '\036','\037','\040','\041','\042','\043','\044','\045','\046','\047',
97 '\050','\051','\052','\053','\054','\055','\056','\057','\060','\061',
98 '\062','\063','\064','\065','\066','\067','\070','\071','\072','\073',
99 '\074','\075','\076','\077','\100','\101','\102','\103','\104','\105',
100 '\106','\107','\110','\111','\112','\113','\114','\115','\116','\117',
101 '\120','\121','\122','\123','\124','\125','\126','\127','\130','\131',
102 '\132','\133','\134','\135','\136','\137','\140','\141','\142','\143',
103 '\144','\145','\146','\147','\150','\151','\152','\153','\154','\155',
104 '\156','\157','\160','\161','\162','\163','\164','\165','\166','\167',
105 '\170','\171','\172','\173','\174','\175','\176','\177','\200','\201',
106 '\202','\203','\204','\205','\206','\207','\210','\211','\212','\213',
107 '\214','\215','\216','\217','\220','\221','\222','\223','\224','\225',
108 '\226','\227','\230','\231','\232','\233','\234','\235','\236','\237',
109 '\040','\101','\101','\105','\105','\105','\111','\111','\047','\140',
110 '\136','\042','\176','\125','\125','\234','\055','\131','\171','\370',
111 '\200','\207','\245','\244','\255','\250','\052','\234','\235','\052',
112 '\237','\233','\203','\210','\223','\226','\240','\202','\242','\243',
113 '\205','\212','\225','\227','\204','\211','\224','\201','\217','\214',
114 '\117','\222','\206','\241','\355','\221','\216','\215','\231','\232',
115 '\220','\213','\341','\117','\101','\101','\141','\104','\144','\111',
116 '\111','\117','\117','\117','\157','\123','\163','\125','\131','\230',
117 '\052','\052','\372','\346','\052','\052','\304','\254','\253','\246',
118 '\247','\256','\376','\257','\361','\040'
123 EXTERN M_WCHAR r8_to_pc8dn [256]
126 '\000','\001','\002','\003','\004','\005','\006','\007','\010','\011',
127 '\012','\013','\014','\015','\016','\017','\020','\021','\022','\023',
128 '\024','\025','\026','\027','\030','\031','\032','\033','\034','\035',
129 '\036','\037','\040','\041','\042','\043','\044','\045','\046','\047',
130 '\050','\051','\052','\053','\054','\055','\056','\057','\060','\061',
131 '\062','\063','\064','\065','\066','\067','\070','\071','\072','\073',
132 '\074','\075','\076','\077','\100','\101','\102','\103','\104','\105',
133 '\106','\107','\110','\111','\112','\113','\114','\115','\116','\117',
134 '\120','\121','\122','\123','\124','\125','\126','\127','\130','\131',
135 '\132','\133','\134','\135','\136','\137','\140','\141','\142','\143',
136 '\144','\145','\146','\147','\150','\151','\152','\153','\154','\155',
137 '\156','\157','\160','\161','\162','\163','\164','\165','\166','\167',
138 '\170','\171','\172','\173','\174','\175','\176','\177','\200','\201',
139 '\202','\203','\204','\205','\206','\207','\210','\211','\212','\213',
140 '\214','\215','\216','\217','\220','\221','\222','\223','\224','\225',
141 '\226','\227','\230','\231','\232','\233','\234','\235','\236','\237',
142 '\040','\101','\101','\105','\105','\105','\111','\111','\047','\140',
143 '\136','\042','\176','\125','\125','\234','\055','\131','\171','\370',
144 '\200','\207','\245','\244','\255','\250','\257','\234','\131','\052',
145 '\146','\143','\203','\210','\223','\226','\240','\202','\242','\243',
146 '\205','\212','\225','\227','\204','\211','\224','\201','\217','\214',
147 '\235','\222','\206','\241','\233','\221','\216','\215','\231','\232',
148 '\220','\213','\341','\117','\101','\252','\251','\104','\144','\111',
149 '\111','\117','\117','\247','\246','\123','\163','\125','\131','\230',
150 '\052','\052','\372','\346','\052','\052','\304','\052','\052','\052',
151 '\052','\074','\376','\076','\361','\040'