This file is indexed.

/usr/share/m17n/CHARSET.tbl is in m17n-db 1.6.3-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
;; CHARSET.tbl -- List of charset definitions			-*- lisp -*-
;; Copyright (C) 2003, 2004
;;   National Institute of Advanced Industrial Science and Technology (AIST)
;;   Registration Number H15PRO112

;; This file is part of the m17n database; a sub-part of the m17n
;; library.

;; The m17n library is free software; you can redistribute it and/or
;; modify it under the terms of the GNU Lesser General Public License
;; as published by the Free Software Foundation; either version 2.1 of
;; the License, or (at your option) any later version.

;; The m17n library is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
;; Lesser General Public License for more details.

;; You should have received a copy of the GNU Lesser General Public
;; License along with the m17n library; if not, write to the Free
;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; <li> CHARSET.tbl
;;;
;;; List of charset definitions.  See the section @ref mdbCharsetList
;;; for the format of this file.

;; Each element has this form:
;;	(CHARSET-NAME KEYWORD1 VALUE1 KEYWORD2 VALUE2 ...)
;; Valid KEYWORDs are:
;;  method -- map, unify, offset, subset, or superset (default map)
;;  dimension -- 1, 2, 3, or 4 (default 1)
;;  min-range -- unsigned (default 0x00)
;;  max-range -- unsigned (default 0xFF, 0xFFFF, 0xFFFFFF, or 0xFFFFFFFF)
;;  min-code -- integer (default min-range)
;;  max-code -- integer (default max-range)
;;  ascii-compatible -- nil or t (default nil)
;;  final-byte -- 0 or 32..127 (default 0)
;;  revision -- 0..127 (default 0)
;;  min-char -- integer (default 0)
;;  mapfile -- mapping file name (method must be map or unify)
;;  parents -- list of charset symbols (method must be subset or superset)
;;  subset-offset -- 
;;  define-coding -- nil or t (default nil, dimension must be 1,
;;	and code-range must be "\x00\xFF")
;;  aliases -- list of alias name symbols
;;

;; ISO-8859 series.
(iso-8859-1-rhp
 method subset
 dimension 1
 parents (iso-8859-1)
 min-range 0x20
 max-range 0x7F
 final-byte ?A
 subset-offset -128)
(iso-8859-2
 dimension 1
 ascii-compatible t
 mapfile "8859-2.map"
 define-coding t)
(iso-8859-2-rhp
 method subset
 dimension 1
 parents (iso-8859-2)
 min-range 0x20
 max-range 0x7F
 final-byte ?B
 subset-offset -128)
(iso-8859-3
 dimension 1
 ascii-compatible t
 mapfile "8859-3.map"
 define-coding t)
(iso-8859-3-rhp
 method subset
 dimension 1
 parents (iso-8859-3)
 min-range 0x20
 max-range 0x7F
 final-byte ?C
 subset-offset -128)
(iso-8859-4
 dimension 1
 ascii-compatible t
 mapfile "8859-4.map"
 define-coding t)
(iso-8859-4-rhp
 method subset
 dimension 1
 parents (iso-8859-4)
 min-range 0x20
 max-range 0x7F
 final-byte ?D
 subset-offset -128)
(iso-8859-5
 dimension 1
 ascii-compatible t
 mapfile "8859-5.map"
 define-coding t)
(iso-8859-5-rhp
 method subset
 dimension 1
 parents (iso-8859-5)
 min-range 0x20
 max-range 0x7F
 final-byte ?L
 subset-offset -128)
(iso-8859-6
 dimension 1
 ascii-compatible t
 mapfile "8859-6.map"
 define-coding t)
(iso-8859-6-rhp
 method subset
 dimension 1
 parents (iso-8859-6)
 min-range 0x20
 max-range 0x7F
 final-byte ?G
 subset-offset -128)
(iso-8859-7
 dimension 1
 ascii-compatible t
 mapfile "8859-7.map"
 final-byte ?F
 define-coding t)
(iso-8859-7-rhp
 method subset
 dimension 1
 parents (iso-8859-7)
 min-range 0x20
 max-range 0x7F
 final-byte ?F
 subset-offset -128)
(iso-8859-8
 dimension 1
 ascii-compatible t
 mapfile "8859-8.map"
 define-coding t)
(iso-8859-8-rhp
 method subset
 dimension 1
 parents (iso-8859-8)
 min-range 0x20
 max-range 0x7F
 final-byte ?H
 subset-offset -128)
(iso-8859-9
 dimension 1
 ascii-compatible t
 mapfile "8859-9.map"
 define-coding t)
(iso-8859-9-rhp
 method subset
 dimension 1
 parents (iso-8859-9)
 min-range 0x20
 max-range 0x7F
 final-byte ?M
 subset-offset -128)
(iso-8859-10
 dimension 1
 ascii-compatible t
 mapfile "8859-10.map"
 define-coding t)
(iso-8859-10-rhp
 method subset
 dimension 1
 parents (iso-8859-10)
 min-range 0x20
 max-range 0x7F
 final-byte ?V
 subset-offset -128)
(iso-8859-11
 dimension 1
 ascii-compatible t
 mapfile "8859-11.map"
 define-coding t)
(iso-8859-13
 dimension 1
 ascii-compatible t
 mapfile "8859-13.map"
 define-coding t)
(iso-8859-14
 dimension 1
 ascii-compatible t
 mapfile "8859-14.map"
 final-byte ?_
 define-coding t)
(iso-8859-14-rhp
 method subset
 dimension 1
 parents (iso-8859-14)
 min-range 0x20
 max-range 0x7F
 final-byte ?_
 subset-offset -128)
(iso-8859-15
 dimension 1
 ascii-compatible t
 mapfile "8859-15.map"
 define-coding t)
(iso-8859-15-rhp
 method subset
 dimension 1
 parents (iso-8859-15)
 min-range 0x20
 max-range 0x7F
 final-byte ?b
 subset-offset -128)
(iso-8859-16
 dimension 1
 ascii-compatible t
 mapfile "8859-16.map"
 define-coding t)

;; IBM codepage series.
(ibm037
 dimension 1
 mapfile "IBM037.map"
 define-coding t)
(ibm038
 dimension 1
 mapfile "IBM038.map"
 define-coding t)
(ibm256
 dimension 1
 mapfile "IBM256.map"
 define-coding t)
(ibm273
 dimension 1
 mapfile "IBM273.map"
 define-coding t)
(ibm274
 dimension 1
 mapfile "IBM274.map"
 define-coding t)
(ibm275
 dimension 1
 mapfile "IBM275.map"
 define-coding t)
(ibm277
 dimension 1
 mapfile "IBM277.map"
 define-coding t)
(ibm278
 dimension 1
 mapfile "IBM278.map"
 define-coding t)
(ibm280
 dimension 1
 mapfile "IBM280.map"
 define-coding t)
(ibm281
 dimension 1
 mapfile "IBM281.map"
 define-coding t)
(ibm284
 dimension 1
 mapfile "IBM284.map"
 define-coding t)
(ibm285
 dimension 1
 mapfile "IBM285.map"
 define-coding t)
(ibm290
 dimension 1
 mapfile "IBM290.map"
 define-coding t)
(ibm297
 dimension 1
 mapfile "IBM297.map"
 define-coding t)
(ibm420
 dimension 1
 mapfile "IBM420.map"
 define-coding t)
(ibm423
 dimension 1
 mapfile "IBM423.map"
 define-coding t)
(ibm424
 dimension 1
 mapfile "IBM424.map"
 define-coding t)
(ibm437
 dimension 1
 ascii-compatible t
 mapfile "IBM437.map"
 define-coding t)
(ibm500
 dimension 1
 mapfile "IBM500.map"
 define-coding t)
(ibm850
 dimension 1
 ascii-compatible t
 mapfile "IBM850.map"
 define-coding t)
(ibm851
 dimension 1
 ascii-compatible t
 mapfile "IBM851.map"
 define-coding t)
(ibm852
 dimension 1
 ascii-compatible t
 mapfile "IBM852.map"
 define-coding t)
(ibm855
 dimension 1
 ascii-compatible t
 mapfile "IBM855.map"
 define-coding t)
(ibm857
 dimension 1
 ascii-compatible t
 mapfile "IBM857.map"
 define-coding t)
(ibm860
 dimension 1
 ascii-compatible t
 mapfile "IBM860.map"
 define-coding t)
(ibm861
 dimension 1
 ascii-compatible t
 mapfile "IBM861.map"
 define-coding t)
(ibm862
 dimension 1
 ascii-compatible t
 mapfile "IBM862.map"
 define-coding t)
(ibm863
 dimension 1
 ascii-compatible t
 mapfile "IBM863.map"
 define-coding t)
(ibm864
 dimension 1
 mapfile "IBM864.map"
 define-coding t)
(ibm865
 dimension 1
 ascii-compatible t
 mapfile "IBM865.map"
 define-coding t)
(ibm866
 dimension 1
 ascii-compatible t
 mapfile "IBM866.map"
 define-coding t)
(ibm868
 dimension 1
 ascii-compatible t
 mapfile "IBM868.map"
 define-coding t)
(ibm869
 dimension 1
 ascii-compatible t
 mapfile "IBM869.map"
 define-coding t)
(ibm870
 dimension 1
 mapfile "IBM870.map"
 define-coding t)
(ibm871
 dimension 1
 mapfile "IBM871.map"
 define-coding t)
(ibm874
 dimension 1
 ascii-compatible t
 mapfile "IBM874.map"
 define-coding t)
(ibm875
 dimension 1
 mapfile "IBM875.map"
 define-coding t)
(ibm880
 dimension 1
 mapfile "IBM880.map"
 define-coding t)
(ibm891
 dimension 1
 ascii-compatible t
 mapfile "IBM891.map"
 define-coding t)
(ibm903
 dimension 1
 ascii-compatible t
 mapfile "IBM903.map"
 define-coding t)
(ibm904
 dimension 1
 ascii-compatible t
 mapfile "IBM904.map"
 define-coding t)
(ibm905
 dimension 1
 mapfile "IBM905.map"
 define-coding t)
(ibm918
 dimension 1
 mapfile "IBM918.map"
 define-coding t)
(ibm1004
 dimension 1
 ascii-compatible t
 mapfile "IBM1004.map"
 define-coding t)
(ibm1026
 dimension 1
 mapfile "IBM1026.map"
 define-coding t)
(ibm1047
 dimension 1
 mapfile "IBM1047.map"
 define-coding t)

;; Microsoft codepage series.
(cp737
 dimension 1
 ascii-compatible t
 mapfile "CP737.map"
 define-coding t)
(cp775
 dimension 1
 ascii-compatible t
 mapfile "CP775.map"
 define-coding t)
(cp949-2-byte
 dimension 2
 mapfile "CP949-2BYTE.map")
(cp949
 method superset
 dimension 2
 parents (ascii cp949-2-byte))
(cp1250
 dimension 1
 ascii-compatible t
 mapfile "CP1250.map"
 define-coding t)
(cp1251
 dimension 1
 ascii-compatible t
 mapfile "CP1251.map"
 define-coding t)
(cp1252
 dimension 1
 ascii-compatible t
 mapfile "CP1252.map"
 define-coding t)
(cp1253
 dimension 1
 ascii-compatible t
 mapfile "CP1253.map"
 define-coding t)
(cp1254
 dimension 1
 ascii-compatible t
 mapfile "CP1254.map"
 define-coding t)
(cp1255
 dimension 1
 ascii-compatible t
 mapfile "CP1255.map"
 define-coding t)
(cp1256
 dimension 1
 ascii-compatible t
 mapfile "CP1256.map"
 define-coding t)
(cp1257
 dimension 1
 ascii-compatible t
 mapfile "CP1257.map"
 define-coding t)
(cp1258
 dimension 1
 ascii-compatible t
 mapfile "CP1258.map"
 define-coding t)
(cp10007
 dimension 1
 ascii-compatible t
 mapfile "CP10007.map"
 define-coding t)

;; CJK charsets.
(gb_1988-80
 dimension 1
 mapfile "GB_1988-80.map"
 define-coding t)
(gb2312.1980
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?A
 mapfile "GB2312.map")
(gbk
 method map
 dimension 2
 min-range 0x8100
 max-range 0xFEFF
 mapfile "GBK.map")

;; GB18030 subsets
(gb18030-2-byte-bmp
 method map
 dimension 2
 min-range 0x8140
 max-range 0xFEFE
 mapfile "GB180302.map")
(gb18030-4-byte-bmp
 method map
 dimension 4
 min-range 0x81308130
 max-range 0x8439FE39
 mapfile "GB180304.map")
(gb18030-4-byte-smp
 method offset
 dimension 4
 min-range 0x90308130
 max-range 0xE339FE39
 min-code 0x90308130
 max-code 0xE3329A35
 min-char 0x10000)
(gb18030-4-byte-ext-1
 method offset
 dimension 4
 min-range 0x84308130
 max-range 0x8F39FE39
 min-code 0x8431A530
 max-code 0x8F39FE39
 min-char 0x200000)			; .. 0x22484B
(gb18030-4-byte-ext-2
 method offset
 dimension 4
 min-range 0xE3308130
 max-range 0xFE39FE39
 min-code 0xE3329A36
 max-code 0xFE39FE39
 min-char 0x22484C)			; ... 0x279F93

(gb18030
 method superset
 dimension 4
 min-code 0
 max-code 0xFE39FE39
 parents (ascii gb18030-2-byte-bmp
		 gb18030-4-byte-bmp gb18030-4-byte-smp
		 gb18030-4-byte-ext-1 gb18030-4-byte-ext-2))

(big5
 method unify
 dimension 2
 min-range 0xA140
 max-range 0xFEFE
 mapfile "BIG5.map")
(big5-hkscs
 method unify
 dimension 2
 min-range 0x8840
 max-range 0xFEFE
 mapfile "BIG5-HKSCS.map")
(cns11643-1
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?G
 mapfile "CNS-1.map")
(cns11643-2
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?H
 mapfile "CNS-2.map")
(cns11643-3
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?I
 mapfile "CNS-3.map")
(cns11643-4
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?J
 mapfile "CNS-4.map")
(cns11643-5
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?K
 mapfile "CNS-5.map")
(cns11643-6
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?L
 mapfile "CNS-6.map")
(cns11643-7
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?M
 mapfile "CNS-7.map")
(cns11643-15
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 mapfile "CNS-F.map")

(jisx0201
 dimension 1
 mapfile "JISX0201.map")
(jisx0201-roman
 method subset
 dimension 1
 min-range 0x21
 max-range 0x7E
 final-byte ?J
 parents (jisx0201))
(jisx0201-kana
 method subset
 dimension 1
 min-range 0x21
 max-range 0x5F
 final-byte ?I
 parents (jisx0201)
 subset-offset -128)
(jisx0208.1978
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?@
 mapfile "JISX0208.map")
(jisx0208.1990
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?B
 revision 1
 mapfile "JISX0208.map")
(jisx0208.1983
 method subset
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 max-code 0x7424
 final-byte ?B
 parents (jisx0208.1990))
(jisx0212
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?D
 mapfile "JISX0212.map")
(jisx0213-1
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?O
 mapfile "JISX2131.map")
(jisx0213-2
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?P
 mapfile "JISX2132.map")
(jisx0213-a
 method map
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 mapfile "JISX2132.map")
(jisx0213.2004-1
 method superset
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 parents (jisx0213-1 jisx0213-a)
 final-byte ?Q)

(ksc5636
 dimension 1
 mapfile "KSC5636.map")
(ksc5601.1987
 method unify
 dimension 2
 min-range 0x2121
 max-range 0x7E7E
 final-byte ?C
 mapfile "KSC5601.map")
(ksc5601.1992-3
 method map
 dimension 2
 min-range 0x4441
 max-range 0xF9F3
 mapfile "JOHAB.map")

;; Miscellaneous
(koi8
 dimension 1
 ascii-compatible t
 mapfile "KOI-8.map"
 define-coding t)
(koi8-r
 dimension 1
 ascii-compatible t
 mapfile "KOI8-R.map"
 define-coding t)
(koi8-u
 dimension 1
 ascii-compatible t
 mapfile "KOI8-U.map"
 define-coding t)
(koi8-t
 dimension 1
 ascii-compatible t
 mapfile "KOI8-T.map"
 define-coding t)
(tis-620
 dimension 1
 ascii-compatible t
 mapfile "TIS-620.map"
 final-byte ?T
 define-coding t)
(viscii
 dimension 1
 mapfile "VISCII.map"
 define-coding t)
(vscii
 dimension 1
 mapfile "VSCII.map"
 define-coding t)
(georgian-ps
 dimension 1
 mapfile "KA-PS.map"
 define-coding t)
(georgian-academy
 dimension 1
 mapfile "KA-ACADEMY.map"
 define-coding t)

;; Unicode subsets.
(unicode-bmp
 method offset
 dimension 2
 min-range 0x0000
 max-range 0xFFFF
 min-char 0x0000)
(unicode-devanagari
 method offset
 dimension 2
 min-range 0x0900
 max-range 0x097F
 min-char 0x0900)
(unicode-tamil
 method offset
 dimension 2
 min-range 0x0B80
 max-range 0x0BFF
 min-char 0x0B80)
(unicode-malayalam
 method offset
 dimension 2
 min-range 0x0D00
 max-range 0x0D7F
 min-char 0x0900)
(unicode-lao
 method offset
 dimension 2
 min-range 0x0E80
 max-range 0x0EFF
 min-char 0x0E80)
(unicode-tibetan
 method offset
 dimension 2
 min-range 0x0F00
 max-range 0x0FFF
 min-char 0x0F00)
(unicode-ethiopic
 method offset
 dimension 2
 min-range 0x1200
 max-range 0x13FF
 min-char 0x1200)
(unicode-khmer
 method offset
 dimension 2
 min-range 0x1780
 max-range 0x17FF
 min-char 0x1780)