annotate lisp/mule/mule-charset.el @ 4975:c5cb3cb79110

Automatic merge
author Ben Wing <ben@xemacs.org>
date Fri, 05 Feb 2010 04:27:45 -0600
parents 68d1ca56cffa
children 308d34e9f07d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
502
7039e6323819 [xemacs-hg @ 2001-05-04 22:41:46 by ben]
ben
parents: 442
diff changeset
1 ;;; mule-charset.el --- Charset functions for Mule. -*- coding: iso-2022-7bit; -*-
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
2
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
4 ;; Copyright (C) 1992, 2001 Free Software Foundation, Inc.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
5 ;; Licensed to the Free Software Foundation.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
6 ;; Copyright (C) 1995 Amdahl Corporation.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
7 ;; Copyright (C) 1996 Sun Microsystems.
777
e65d9cf16707 [xemacs-hg @ 2002-03-15 11:00:28 by ben]
ben
parents: 771
diff changeset
8 ;; Copyright (C) 2002 Ben Wing.
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
9
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
10 ;; Author: Unknown
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
11 ;; Keywords: i18n, mule, internal
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
12
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
13 ;; This file is part of XEmacs.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
14
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
15 ;; XEmacs is free software; you can redistribute it and/or modify it
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
16 ;; under the terms of the GNU General Public License as published by
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
17 ;; the Free Software Foundation; either version 2, or (at your option)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
18 ;; any later version.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
19
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
20 ;; XEmacs is distributed in the hope that it will be useful, but
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
21 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
22 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
23 ;; General Public License for more details.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
24
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
25 ;; You should have received a copy of the GNU General Public License
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
26 ;; along with XEmacs; see the file COPYING. If not, write to the
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
27 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
28 ;; Boston, MA 02111-1307, USA.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
29
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
30 ;;; Synched up with: Not synched. API at source level synched with FSF 20.3.9.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
31
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
32 ;;; Commentary:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
33
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
34 ;; These functions are not compatible at the bytecode level with Emacs/Mule,
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
35 ;; and they never will be. -sb [1999-05-26]
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
36
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
37 ;;; Code:
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
38
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
39 ;;;; Classifying text according to charsets
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
40
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
41 (defun charsets-in-string (string)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
42 "Return a list of the charsets in STRING."
3681
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
43 (let (res)
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
44 (with-string-as-buffer-contents string
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
45 ;; charsets-in-region now in C.
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
46 (setq res (charsets-in-region (point-min) (point-max))))
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
47 res))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
48
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
49 (defalias 'find-charset-string 'charsets-in-string)
3681
3131094eed8c [xemacs-hg @ 2006-11-15 21:39:51 by aidan]
aidan
parents: 3659
diff changeset
50
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
51 (defalias 'find-charset-region 'charsets-in-region)
818
accc481aef34 [xemacs-hg @ 2002-04-25 06:09:11 by youngs]
youngs
parents: 788
diff changeset
52
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
53
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
54 ;;;; Charset accessors
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
55
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
56 (defun charset-iso-graphic-plane (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
57 "Return the `graphic' property of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
58 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
59 (charset-property charset 'graphic))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
60
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
61 (defun charset-iso-final-char (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
62 "Return the final byte of the ISO 2022 escape sequence designating CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
63 (charset-property charset 'final))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
64
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
65 (defun charset-chars (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
66 "Return the number of characters per dimension of CHARSET."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
67 (charset-property charset 'chars))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
68
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
69 (defun charset-width (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
70 "Return the number of display columns per character of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
71 This only applies to TTY mode (under X, the actual display width can
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
72 be automatically determined)."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
73 (charset-property charset 'columns))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
74
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
75 ;; #### FSFmacs returns 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
76 (defun charset-direction (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
77 "Return the display direction (0 for `l2r' or 1 for `r2l') of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
78 Only left-to-right is currently implemented."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
79 (if (eq (charset-property charset 'direction) 'l2r)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
80 0
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
81 1))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
82
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
83 ;; Not in GNU Emacs/Mule
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
84 (defun charset-registry (charset)
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
85 "Obsolete; use charset-registries instead. "
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
86 (lwarn 'xintl 'warning
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
87 "charset-registry is obsolete--use charset-registries instead. ")
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
88 (when (charset-property charset 'registries)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
89 (elt (charset-property charset 'registries) 0)))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
90
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
91 (make-obsolete 'charset-registry 'charset-registries)
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
92
3659
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
93 (defun charset-registries (charset)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
94 "Return the registries of CHARSET."
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
95 (charset-property charset 'registries))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
96
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
97 (defun set-charset-registry (charset registry)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
98 "Obsolete; use set-charset-registries instead. "
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
99 (check-argument-type 'stringp registry)
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
100 (check-argument-type 'charsetp (find-charset charset))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
101 (unless (equal registry (regexp-quote registry))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
102 (lwarn 'xintl 'warning
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
103 "Regexps no longer allowed for charset-registry. Treating %s%s"
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
104 registry " as a string."))
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
105 (set-charset-registries
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
106 charset
98af8a976fc3 [xemacs-hg @ 2006-11-05 22:31:31 by aidan]
aidan
parents: 3163
diff changeset
107 (apply 'vector registry (append (charset-registries charset) nil))))
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
108
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
109 (make-obsolete 'set-charset-registry 'set-charset-registries)
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
110
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
111 (defun charset-ccl-program (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
112 "Return the CCL program of CHARSET.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
113 See `make-charset'."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
114 (charset-property charset 'ccl-program))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
115
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
116 (defun charset-bytes (charset)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
117 "Useless in XEmacs, returns 1."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
118 1)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
119
4549
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
120 (defun charset-skip-chars-string (charset)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
121 "Given CHARSET, return a string suitable for for `skip-chars-forward'.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
122 Passing the string to `skip-chars-forward' will cause it to skip all
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
123 characters in CHARSET."
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
124 (setq charset (get-charset charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
125 (cond
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
126 ;; Aargh, the general algorithm doesn't work for these charsets, because
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
127 ;; make-char strips the high bit. Hard code them.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
128 ((eq (find-charset 'ascii) charset) "\x00-\x7f")
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
129 ((eq (find-charset 'control-1) charset) "\x80-\x9f")
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
130 (t
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
131 (let (charset-lower charset-upper row-upper row-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
132 (if (= 1 (charset-dimension charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
133 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
134 (make-char charset #x100)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
135 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
136 (setq charset-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
137 charset-upper (fourth args-out-of-range))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
138 (format "%c-%c"
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
139 (make-char charset charset-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
140 (make-char charset charset-upper))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
141 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
142 (make-char charset #x100 #x22)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
143 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
144 (setq row-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
145 row-upper (fourth args-out-of-range))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
146 (condition-case args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
147 (make-char charset #x22 #x100)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
148 (args-out-of-range
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
149 (setq charset-lower (third args-out-of-range)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
150 charset-upper (fourth args-out-of-range))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
151 (format "%c-%c"
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
152 (make-char charset row-lower charset-lower)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
153 (make-char charset row-upper charset-upper)))))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
154 ;; From GNU.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
155 (defun map-charset-chars (func charset)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
156 "Use FUNC to map over all characters in CHARSET for side effects.
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
157 FUNC is a function of two args, the start and end (inclusive) of a
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
158 character code range. Thus FUNC should iterate over [START, END]."
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
159 (check-argument-type #'functionp func)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
160 (check-argument-type #'charsetp (setq charset (find-charset charset)))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
161 (let* ((dim (charset-dimension charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
162 (chars (charset-chars charset))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
163 (start (if (= chars 94)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
164 33
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
165 32)))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
166 (if (= dim 1)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
167 (cond
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
168 ((eq (find-charset 'ascii) charset) (funcall func ?\x00 ?\x7f))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
169 ((eq (find-charset 'control-1) charset) (funcall func ?\x80 ?\x9f))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
170 (t
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
171 (funcall func
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
172 (make-char charset start)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
173 (make-char charset (+ start chars -1)))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
174 (dotimes (i chars)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
175 (funcall func
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
176 (make-char charset (+ i start) start)
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
177 (make-char charset (+ i start) (+ start chars -1)))))))
68d1ca56cffa First part of interactive checks that coding systems encode regions.
Aidan Kehoe <kehoea@parhasard.net>
parents: 4072
diff changeset
178
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
179 ;;;; Define setf methods for all settable Charset properties
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
180
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
181 (defsetf charset-registry set-charset-registry)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
182 (defsetf charset-ccl-program set-charset-ccl-program)
3712
a0d288cfcfb5 [xemacs-hg @ 2006-11-29 22:33:36 by aidan]
aidan
parents: 3681
diff changeset
183 (defsetf charset-registries set-charset-registries)
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
184
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
185 ;;; FSF compatibility functions
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
186 (defun charset-after (&optional pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
187 "Return charset of a character in current buffer at position POS.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
188 If POS is nil, it defauls to the current point.
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
189 If POS is out of range, the value is nil."
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
190 (when (null pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
191 (setq pos (point)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
192 (check-argument-type 'integerp pos)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
193 (unless (or (< pos (point-min))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
194 (> pos (point-max)))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
195 (char-charset (char-after pos))))
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
196
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
197 ;; Yuck!
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
198 ;; We're not going to support these.
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
199 ;(defun charset-info (charset) [incredibly broken function with random vectors]
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
200 ;(defun define-charset (...) [incredibly broken function with random vectors]
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
201
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
202 ;;; Charset property
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
203
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
204 (defalias 'get-charset-property 'get)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
205 (defalias 'put-charset-property 'put)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
206 (defalias 'charset-plist 'object-plist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
207 (defalias 'set-charset-plist 'setplist)
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
208
771
943eaba38521 [xemacs-hg @ 2002-03-13 08:51:24 by ben]
ben
parents: 502
diff changeset
209
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
210 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
211 ; translation tables ;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
212 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
213
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
214 (defstruct (translation-table (:constructor internal-make-translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
215 forward
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
216 reverse)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
217
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
218 (defun make-translation-table (&rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
219 "Make a translation table from arguments.
2116
ce294639d321 [xemacs-hg @ 2004-06-06 23:58:40 by adrian]
adrian
parents: 1309
diff changeset
220 A translation table is a char table intended for character translation
ce294639d321 [xemacs-hg @ 2004-06-06 23:58:40 by adrian]
adrian
parents: 1309
diff changeset
221 in CCL programs.
788
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
222
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
223 Each argument is a list of elemnts of the form (FROM . TO), where FROM
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
224 is a character to be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
225
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
226 FROM can be a generic character (see `make-char'). In this case, TO is
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
227 a generic character containing the same number of characters, or a
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
228 ordinary character. If FROM and TO are both generic characters, all
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
229 characters belonging to FROM are translated to characters belonging to TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
230 without changing their position code(s).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
231
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
232 The arguments and forms in each argument are processed in the given
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
233 order, and if a previous form already translates TO to some other
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
234 character, say TO-ALT, FROM is also translated to TO-ALT."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
235 (let ((table (internal-make-translation-table
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
236 :forward (make-char-table 'generic)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
237 revlist)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
238 (while args
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
239 (let ((elts (car args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
240 (while elts
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
241 (let* ((from (car (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
242 (from-i 0) ; degree of freedom of FROM
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
243 (from-rev (nreverse (split-char from)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
244 (to (cdr (car elts)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
245 (to-i 0) ; degree of freedom of TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
246 (to-rev (nreverse (split-char to))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
247 ;; Check numbers of heading 0s in FROM-REV and TO-REV.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
248 (while (eq (car from-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
249 (setq from-i (1+ from-i) from-rev (cdr from-rev)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
250 (while (eq (car to-rev) 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
251 (setq to-i (1+ to-i) to-rev (cdr to-rev)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
252 (if (and (/= from-i to-i) (/= to-i 0))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
253 (error "Invalid character pair (%d . %d)" from to))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
254 ;; If we have already translated TO to TO-ALT, FROM should
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
255 ;; also be translated to TO-ALT. But, this is only if TO
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
256 ;; is a generic character or TO-ALT is not a generic
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
257 ;; character.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
258 (let ((to-alt (get-char-table to table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
259 (if (and to-alt
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
260 (or (> to-i 0) (not (find-charset to-alt))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
261 (setq to to-alt)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
262 (if (> from-i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
263 (set-char-table-default table from to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
264 (put-char-table from to table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
265 ;; If we have already translated some chars to FROM, they
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
266 ;; should also be translated to TO.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
267 (let ((l (assq from revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
268 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
269 (let ((ch (car l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
270 (setcar l to)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
271 (setq l (cdr l))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
272 (while l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
273 (put-char-table ch to table)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
274 (setq l (cdr l)) ))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
275 ;; Now update REVLIST.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
276 (let ((l (assq to revlist)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
277 (if l
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
278 (setcdr l (cons from (cdr l)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
279 (setq revlist (cons (list to from) revlist)))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
280 (setq elts (cdr elts))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
281 (setq args (cdr args)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
282 ;; Return TABLE just created.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
283 table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
284
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
285 ;; Do we really need this?
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
286 ; (defun make-translation-table-from-vector (vec)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
287 ; "Make translation table from decoding vector VEC.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
288 ; VEC is an array of 256 elements to map unibyte codes to multibyte characters.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
289 ; See also the variable `nonascii-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
290 ; (let ((table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
291 ; (rev-table (make-char-table 'translation-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
292 ; (i 0)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
293 ; ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
294 ; (while (< i 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
295 ; (setq ch (aref vec i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
296 ; (aset table i ch)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
297 ; (if (>= ch 256)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
298 ; (aset rev-table ch i))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
299 ; (setq i (1+ i)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
300 ; (set-char-table-extra-slot table 0 rev-table)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
301 ; table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
302
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
303 (defvar named-translation-table-hash-table (make-hash-table))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
304
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
305 (defun define-translation-table (symbol &rest args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
306 "Define SYMBOL as the name of translation table made by ARGS.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
307 This sets up information so that the table can be used for
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
308 translations in a CCL program.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
309
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
310 If the first element of ARGS is a translation table, just define SYMBOL to
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
311 name it. (Note that this function does not bind SYMBOL.)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
312
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
313 Any other ARGS should be suitable as arguments of the function
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
314 `make-translation-table' (which see).
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
315
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
316 Look up a named translation table using `find-translation-table' or
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
317 `get-translation-table'."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
318 (let ((table (if (translation-table-p (car args))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
319 (car args)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
320 (apply 'make-translation-table args))))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
321 (puthash symbol table named-translation-table-hash-table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
322
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
323 (defun find-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
324 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
325 If TABLE-OR-NAME is a translation table object, it is simply returned.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
326 Otherwise, TABLE-OR-NAME should be a symbol. If there is no such
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
327 translation table, nil is returned. Otherwise the associated translation
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
328 table object is returned."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
329 (if (translation-table-p table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
330 table-or-name
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
331 (check-argument-type 'symbolp table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
332 (gethash table-or-name named-translation-table-hash-table)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
333
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
334 (defun get-translation-table (table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
335 "Retrieve the translation table of the given name.
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
336 Same as `find-translation-table' except an error is signalled if there is
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
337 no such translation table instead of returning nil."
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
338 (or (find-translation-table table-or-name)
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
339 (error 'invalid-argument "No such translation table" table-or-name)))
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
340
026c5bf9c134 [xemacs-hg @ 2002-03-21 07:29:57 by ben]
ben
parents: 778
diff changeset
341
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
342 ;; Setup auto-fill-chars for charsets that should invoke auto-filling.
777
e65d9cf16707 [xemacs-hg @ 2002-03-15 11:00:28 by ben]
ben
parents: 771
diff changeset
343 ;; SPACE and NEWLINE are already set.
442
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
344 (let ((l '(katakana-jisx0201
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
345 japanese-jisx0208 japanese-jisx0212
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
346 chinese-gb2312 chinese-big5-1 chinese-big5-2)))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
347 (while l
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
348 (put-char-table (car l) t auto-fill-chars)
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
349 (setq l (cdr l))))
abe6d1db359e Import from CVS: tag r21-2-36
cvs
parents: 428
diff changeset
350
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
351
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
352 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
353 ; charsets ;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
354 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
355
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
356 ;; Synched up with: FSF 21.1.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
357
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
358 ;; All FSF charset definitions are in mule-conf.el. I copied the relevant
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
359 ;; part of that file below, then converted all charset definitions using
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
360 ;; the macro below, then globally replaced 'direction 0' with 'direction
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
361 ;; l2r' and 'direction 1' with 'direction r2l', then commented everything
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
362 ;; out. Copy the definitions as necessary to individual files.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
363
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
364 ;; Kbd macro to convert from FSF-style define-charset to our make-charset.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
365
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
366 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
367 ; "<right> M-d make <M-right> M-d <home> <down> TAB '[dimension DEL SPC <M-right> RET TAB chars SPC <M-right> RET TAB columns SPC <M-right> RET TAB direction SPC <M-right> RET TAB final SPC <M-right> RET TAB graphic SPC <M-right> RET TAB short- name SPC <M-right> RET TAB long- name SPC <M-right> RET TAB <S-M-right> <f2> DEL TAB <end> ] <M-left> <end> SPC <f4> 3*<M-left> <left> <M-right> RET <down>"))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
368
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
369 ;; Kbd macro to take one registry entry from the list of registry entries,
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
370 ;; find the appropriate make-charset call, and add the appropriate registry
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
371 ;; property.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
372
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
373 ; (setq last-kbd-macro (read-kbd-macro
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
374 ; "3*<right> <S-M-right> C-x x 1 <right> <S-M-right> C-x x 2 <home> C-x r m foo RET <M-down> M-x sear TAB for TAB RET C-x g 1 RET C-s dimen RET <end> RET TAB 3*<backspace> registry SPC C-x g 2 C-x r b RET <down>"))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
375
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
376 ;; List from FSF international/fontset.el of registries for charsets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
377
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
378 ;; latin-iso8859-1 "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
379 ;; latin-iso8859-2 "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
380 ;; latin-iso8859-3 "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
381 ;; latin-iso8859-4 "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
382 ;; thai-tis620 "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
383 ;; greek-iso8859-7 "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
384 ;; arabic-iso8859-6 "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
385 ;; hebrew-iso8859-8 "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
386 ;; katakana-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
387 ;; latin-jisx0201 "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
388 ;; cyrillic-iso8859-5 "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
389 ;; latin-iso8859-9 "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
390 ;; japanese-jisx0208-1978 "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
391 ;; chinese-gb2312 "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
392 ;; japanese-jisx0208 "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
393 ;; korean-ksc5601 "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
394 ;; japanese-jisx0212 "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
395 ;; chinese-cns11643-1 "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
396 ;; chinese-cns11643-2 "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
397 ;; chinese-cns11643-3 "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
398 ;; chinese-cns11643-4 "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
399 ;; chinese-cns11643-5 "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
400 ;; chinese-cns11643-6 "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
401 ;; chinese-cns11643-7 "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
402 ;; chinese-big5-1 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
403 ;; chinese-big5-2 "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
404 ;; chinese-sisheng "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
405 ;; vietnamese-viscii-lower "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
406 ;; vietnamese-viscii-upper "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
407 ;; arabic-digit "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
408 ;; arabic-1-column "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
409 ;; arabic-2-column "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
410 ;; ipa "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
411 ;; ethiopic "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
412 ;; indian-is13194 "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
413 ;; indian-2-column "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
414 ;; indian-1-column "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
415 ;; lao "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
416 ;; tibetan "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
417 ;; tibetan-1-column "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
418 ;; latin-iso8859-14 "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
419 ;; latin-iso8859-15 "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
420 ;; mule-unicode-0100-24ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
421 ;; mule-unicode-2500-33ff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
422 ;; mule-unicode-e000-ffff "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
423 ;; japanese-jisx0213-1 "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
424 ;; japanese-jisx0213-2 "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
425
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
426 ;;; Begin stuff from international/mule-conf.el.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
427
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
428 ; ;;; Definitions of character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
429
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
430 ; ;; Basic (official) character sets. These character sets are treated
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
431 ; ;; efficiently with respect to buffer memory.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
432
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
433 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
434 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
435 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
436 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
437 ; ;; ASCII charset is defined in src/charset.c as below.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
438 ; ;; (define-charset 0 ascii
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
439 ; ;; [1 94 1 0 ?B 0 "ASCII" "ASCII" "ASCII (ISO646 IRV)"])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
440
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
441 ; ;; 1-byte charsets. Valid range of CHARSET-ID is 128..143.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
442
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
443 ; ;; CHARSET-ID 128 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
444
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
445 ; ; An extra level of commenting means an official (done in C) charset.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
446 ; ; (make-charset 'latin-iso8859-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
447 ; ; "Right-Hand Part of Latin Alphabet 1 (ISO/IEC 8859-1): ISO-IR-100"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
448 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
449 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
450 ; ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
451 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
452 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
453 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
454 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
455 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
456 ; ; short-name "RHP of Latin-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
457 ; ; long-name "RHP of Latin-1 (ISO 8859-1): ISO-IR-100"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
458 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
459
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
460 ; ; (make-charset 'latin-iso8859-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
461 ; ; "Right-Hand Part of Latin Alphabet 2 (ISO/IEC 8859-2): ISO-IR-101"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
462 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
463 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
464 ; ; registry "ISO8859-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
465 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
466 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
467 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
468 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
469 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
470 ; ; short-name "RHP of Latin-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
471 ; ; long-name "RHP of Latin-2 (ISO 8859-2): ISO-IR-101"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
472 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
473
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
474 ; ; (make-charset 'latin-iso8859-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
475 ; ; "Right-Hand Part of Latin Alphabet 3 (ISO/IEC 8859-3): ISO-IR-109"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
476 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
477 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
478 ; ; registry "ISO8859-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
479 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
480 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
481 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
482 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
483 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
484 ; ; short-name "RHP of Latin-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
485 ; ; long-name "RHP of Latin-3 (ISO 8859-3): ISO-IR-109"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
486 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
487
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
488 ; ; (make-charset 'latin-iso8859-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
489 ; ; "Right-Hand Part of Latin Alphabet 4 (ISO/IEC 8859-4): ISO-IR-110"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
490 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
491 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
492 ; ; registry "ISO8859-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
493 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
494 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
495 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
496 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
497 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
498 ; ; short-name "RHP of Latin-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
499 ; ; long-name "RHP of Latin-4 (ISO 8859-4): ISO-IR-110"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
500 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
501
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
502 ; ; (make-charset 'thai-tis620
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
503 ; ; "Right-Hand Part of TIS620.2533 (Thai): ISO-IR-166"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
504 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
505 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
506 ; ; registry "TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
507 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
508 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
509 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
510 ; ; final ?T
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
511 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
512 ; ; short-name "RHP of TIS620"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
513 ; ; long-name "RHP of Thai (TIS620): ISO-IR-166"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
514 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
515
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
516 ; ; (make-charset 'greek-iso8859-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
517 ; ; "Right-Hand Part of Latin/Greek Alphabet (ISO/IEC 8859-7): ISO-IR-126"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
518 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
519 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
520 ; ; registry "ISO8859-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
521 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
522 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
523 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
524 ; ; final ?F
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
525 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
526 ; ; short-name "RHP of ISO8859/7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
527 ; ; long-name "RHP of Greek (ISO 8859-7): ISO-IR-126"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
528 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
529
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
530 ; ; (make-charset 'arabic-iso8859-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
531 ; ; "Right-Hand Part of Latin/Arabic Alphabet (ISO/IEC 8859-6): ISO-IR-127"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
532 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
533 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
534 ; ; registry "ISO8859-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
535 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
536 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
537 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
538 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
539 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
540 ; ; short-name "RHP of ISO8859/6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
541 ; ; long-name "RHP of Arabic (ISO 8859-6): ISO-IR-127"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
542 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
543
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
544 ; ; (make-charset 'hebrew-iso8859-8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
545 ; ; "Right-Hand Part of Latin/Hebrew Alphabet (ISO/IEC 8859-8): ISO-IR-138"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
546 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
547 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
548 ; ; registry "ISO8859-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
549 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
550 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
551 ; ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
552 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
553 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
554 ; ; short-name "RHP of ISO8859/8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
555 ; ; long-name "RHP of Hebrew (ISO 8859-8): ISO-IR-138"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
556 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
557
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
558 ; ; (make-charset 'katakana-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
559 ; ; "Katakana Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
560 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
561 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
562 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
563 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
564 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
565 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
566 ; ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
567 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
568 ; ; short-name "JISX0201 Katakana"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
569 ; ; long-name "Japanese Katakana (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
570 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
571
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
572 ; ; (make-charset 'latin-jisx0201
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
573 ; ; "Roman Part of JISX0201.1976"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
574 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
575 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
576 ; ; registry "JISX0201"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
577 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
578 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
579 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
580 ; ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
581 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
582 ; ; short-name "JISX0201 Roman"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
583 ; ; long-name "Japanese Roman (JISX0201.1976)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
584 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
585
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
586
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
587 ; ;; CHARSET-ID is not used 139.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
588
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
589 ; ; (make-charset 'cyrillic-iso8859-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
590 ; ; "Right-Hand Part of Latin/Cyrillic Alphabet (ISO/IEC 8859-5): ISO-IR-144"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
591 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
592 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
593 ; ; registry "ISO8859-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
594 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
595 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
596 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
597 ; ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
598 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
599 ; ; short-name "RHP of ISO8859/5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
600 ; ; long-name "RHP of Cyrillic (ISO 8859-5): ISO-IR-144"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
601 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
602
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
603 ; ; (make-charset 'latin-iso8859-9
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
604 ; ; "Right-Hand Part of Latin Alphabet 5 (ISO/IEC 8859-9): ISO-IR-148"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
605 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
606 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
607 ; ; registry "ISO8859-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
608 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
609 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
610 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
611 ; ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
612 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
613 ; ; short-name "RHP of Latin-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
614 ; ; long-name "RHP of Latin-5 (ISO 8859-9): ISO-IR-148"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
615 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
616
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
617 ; ; (make-charset 'latin-iso8859-15
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
618 ; ; "Right-Hand Part of Latin Alphabet 9 (ISO/IEC 8859-15): ISO-IR-203"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
619 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
620 ; ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
621 ; ; registry "ISO8859-15"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
622 ; ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
623 ; ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
624 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
625 ; ; final ?b
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
626 ; ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
627 ; ; short-name "RHP of Latin-9"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
628 ; ; long-name "RHP of Latin-9 (ISO 8859-15): ISO-IR-203"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
629 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
630
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
631 ; (make-charset 'latin-iso8859-14
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
632 ; "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
633 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
634 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
635 ; registry "ISO8859-14"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
636 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
637 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
638 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
639 ; final ?_
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
640 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
641 ; short-name "RHP of Latin-8"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
642 ; long-name "RHP of Latin-8 (ISO 8859-14)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
643 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
644
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
645
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
646 ; ;; 2-byte charsets. Valid range of CHARSET-ID is 144..153.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
647
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
648 ; ; (make-charset 'japanese-jisx0208-1978
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
649 ; ; "JISX0208.1978 Japanese Kanji (so called \"old JIS\"): ISO-IR-42"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
650 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
651 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
652 ; ; registry "JISX0208.1990"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
653 ; ; registry "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
654 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
655 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
656 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
657 ; ; final ?@
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
658 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
659 ; ; short-name "JISX0208.1978"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
660 ; ; long-name "JISX0208.1978 (Japanese): ISO-IR-42"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
661 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
662
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
663 ; ; (make-charset 'chinese-gb2312
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
664 ; ; "GB2312 Chinese simplified: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
665 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
666 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
667 ; ; registry "GB2312.1980"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
668 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
669 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
670 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
671 ; ; final ?A
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
672 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
673 ; ; short-name "GB2312"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
674 ; ; long-name "GB2312: ISO-IR-58"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
675 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
676
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
677 ; ; (make-charset 'japanese-jisx0208
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
678 ; ; "JISX0208.1983/1990 Japanese Kanji: ISO-IR-87"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
679 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
680 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
681 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
682 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
683 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
684 ; ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
685 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
686 ; ; short-name "JISX0208"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
687 ; ; long-name "JISX0208.1983/1990 (Japanese): ISO-IR-87"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
688 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
689
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
690 ; ; (make-charset 'korean-ksc5601
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
691 ; ; "KSC5601 Korean Hangul and Hanja: ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
692 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
693 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
694 ; ; registry "KSC5601.1989"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
695 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
696 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
697 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
698 ; ; final ?C
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
699 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
700 ; ; short-name "KSC5601"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
701 ; ; long-name "KSC5601 (Korean): ISO-IR-149"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
702 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
703
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
704 ; ; (make-charset 'japanese-jisx0212
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
705 ; ; "JISX0212 Japanese supplement: ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
706 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
707 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
708 ; ; registry "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
709 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
710 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
711 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
712 ; ; final ?D
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
713 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
714 ; ; short-name "JISX0212"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
715 ; ; long-name "JISX0212 (Japanese): ISO-IR-159"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
716 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
717
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
718 ; ; (make-charset 'chinese-cns11643-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
719 ; ; "CNS11643 Plane 1 Chinese traditional: ISO-IR-171"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
720 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
721 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
722 ; ; registry "CNS11643.1992-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
723 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
724 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
725 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
726 ; ; final ?G
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
727 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
728 ; ; short-name "CNS11643-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
729 ; ; long-name "CNS11643-1 (Chinese traditional): ISO-IR-171"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
730 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
731
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
732 ; ; (make-charset 'chinese-cns11643-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
733 ; ; "CNS11643 Plane 2 Chinese traditional: ISO-IR-172"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
734 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
735 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
736 ; ; registry "CNS11643.1992-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
737 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
738 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
739 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
740 ; ; final ?H
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
741 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
742 ; ; short-name "CNS11643-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
743 ; ; long-name "CNS11643-2 (Chinese traditional): ISO-IR-172"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
744 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
745
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
746 ; (make-charset 'japanese-jisx0213-1 "JISX0213 Plane 1 (Japanese)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
747 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
748 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
749 ; registry "JISX0213.2000-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
750 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
751 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
752 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
753 ; final ?O
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
754 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
755 ; short-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
756 ; long-name "JISX0213-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
757 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
758
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
759 ; ; (make-charset 'chinese-big5-1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
760 ; ; "Frequently used part (A141-C67F) of Big5 (Chinese traditional)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
761 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
762 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
763 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
764 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
765 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
766 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
767 ; ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
768 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
769 ; ; short-name "Big5 (Level-1)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
770 ; ; long-name "Big5 (Level-1) A141-C67F"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
771 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
772
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
773 ; ; (make-charset 'chinese-big5-2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
774 ; ; "Less frequently used part (C940-FEFE) of Big5 (Chinese traditional)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
775 ; ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
776 ; ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
777 ; ; registry "Big5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
778 ; ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
779 ; ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
780 ; ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
781 ; ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
782 ; ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
783 ; ; short-name "Big5 (Level-2)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
784 ; ; long-name "Big5 (Level-2) C940-FEFE"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
785 ; ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
786
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
787
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
788 ; ;; Additional (private) character sets. These character sets are
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
789 ; ;; treated less space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
790
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
791 ; ;; Syntax:
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
792 ; ;; (define-charset CHARSET-ID CHARSET
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
793 ; ;; [ DIMENSION CHARS WIDTH DIRECTION ISO-FINAL-CHAR ISO-GRAPHIC-PLANE
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
794 ; ;; SHORT-NAME LONG-NAME DESCRIPTION ])
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
795
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
796 ; ;; ISO-2022 allows a use of character sets not registered in ISO with
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
797 ; ;; final characters `0' (0x30) through `?' (0x3F). Among them, Emacs
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
798 ; ;; reserves `0' through `9' to support several private character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
799 ; ;; The remaining final characters `:' through `?' are for users.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
800
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
801 ; ;; 1-byte 1-column charsets. Valid range of CHARSET-ID is 160..223.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
802
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
803 ; (make-charset 'chinese-sisheng
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
804 ; "SiSheng characters for PinYin/ZhuYin"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
805 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
806 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
807 ; registry "sisheng_cwnn"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
808 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
809 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
810 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
811 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
812 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
813 ; short-name "SiSheng"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
814 ; long-name "SiSheng (PinYin/ZhuYin)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
815 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
816
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
817
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
818 ; ;; IPA characters for phonetic symbols.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
819 ; (make-charset 'ipa "IPA (International Phonetic Association)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
820 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
821 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
822 ; registry "MuleIPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
823 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
824 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
825 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
826 ; final ?0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
827 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
828 ; short-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
829 ; long-name "IPA"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
830 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
831
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
832
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
833 ; ;; Vietnamese VISCII. VISCII is 1-byte character set which contains
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
834 ; ;; more than 96 characters. Since Emacs can't handle it as one
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
835 ; ;; character set, it is divided into two: lower case letters and upper
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
836 ; ;; case letters.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
837 ; (make-charset 'vietnamese-viscii-lower "VISCII1.1 lower-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
838 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
839 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
840 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
841 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
842 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
843 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
844 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
845 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
846 ; short-name "VISCII lower"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
847 ; long-name "VISCII lower-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
848 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
849
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
850 ; (make-charset 'vietnamese-viscii-upper "VISCII1.1 upper-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
851 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
852 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
853 ; registry "VISCII1.1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
854 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
855 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
856 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
857 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
858 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
859 ; short-name "VISCII upper"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
860 ; long-name "VISCII upper-case"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
861 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
862
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
863
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
864 ; ;; For Arabic, we need three different types of character sets.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
865 ; ;; Digits are of direction left-to-right and of width 1-column.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
866 ; ;; Others are of direction right-to-left and of width 1-column or
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
867 ; ;; 2-column.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
868 ; (make-charset 'arabic-digit "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
869 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
870 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
871 ; registry "MuleArabic-0"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
872 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
873 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
874 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
875 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
876 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
877 ; short-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
878 ; long-name "Arabic digit"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
879 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
880
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
881 ; (make-charset 'arabic-1-column "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
882 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
883 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
884 ; registry "MuleArabic-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
885 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
886 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
887 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
888 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
889 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
890 ; short-name "Arabic 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
891 ; long-name "Arabic 1-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
892 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
893
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
894
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
895 ; ;; ASCII with right-to-left direction.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
896 ; (make-charset 'ascii-right-to-left
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
897 ; "ASCII (left half of ISO 8859-1) with right-to-left direction"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
898 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
899 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
900 ; registry "ISO8859-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
901 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
902 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
903 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
904 ; final ?B
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
905 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
906 ; short-name "rev ASCII"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
907 ; long-name "ASCII with right-to-left direction"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
908 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
909
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
910
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
911 ; ;; Lao script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
912 ; ;; ISO10646's 0x0E80..0x0EDF are mapped to 0x20..0x7F.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
913 ; (make-charset 'lao "Lao characters (ISO10646 0E80..0EDF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
914 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
915 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
916 ; registry "MuleLao-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
917 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
918 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
919 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
920 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
921 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
922 ; short-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
923 ; long-name "Lao"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
924 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
925
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
926
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
927 ; ;; CHARSET-IDs 168..223 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
928
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
929 ; ;; 1-byte 2-column charsets. Valid range of CHARSET-ID is 224..239.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
930
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
931 ; (make-charset 'arabic-2-column "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
932 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
933 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
934 ; registry "MuleArabic-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
935 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
936 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
937 ; direction r2l
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
938 ; final ?4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
939 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
940 ; short-name "Arabic 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
941 ; long-name "Arabic 2-column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
942 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
943
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
944
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
945 ; ;; Indian scripts. Symbolic charset for data exchange. Glyphs are
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
946 ; ;; not assigned. They are automatically converted to each Indian
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
947 ; ;; script which IS-13194 supports.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
948
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
949 ; (make-charset 'indian-is13194
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
950 ; "Generic Indian charset for data exchange with IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
951 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
952 ; 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
953 ; registry "IS13194-Devanagari"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
954 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
955 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
956 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
957 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
958 ; graphic 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
959 ; short-name "IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
960 ; long-name "Indian IS 13194"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
961 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
962
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
963
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
964 ; ;; CHARSET-IDs 226..239 are not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
965
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
966 ; ;; 2-byte 1-column charsets. Valid range of CHARSET-ID is 240..244.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
967
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
968 ; ;; Actual Glyph for 1-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
969 ; (make-charset 'indian-1-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
970 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
971 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
972 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
973 ; registry "MuleIndian-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
974 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
975 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
976 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
977 ; final ?6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
978 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
979 ; short-name "Indian 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
980 ; long-name "Indian 1 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
981 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
982
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
983
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
984 ; (make-charset 'tibetan-1-column "Tibetan 1 column glyph"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
985 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
986 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
987 ; registry "MuleTibetan-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
988 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
989 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
990 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
991 ; final ?8
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
992 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
993 ; short-name "Tibetan 1-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
994 ; long-name "Tibetan 1 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
995 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
996
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
997
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
998 ; ;; Subsets of Unicode.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
999
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1000 ; (make-charset 'mule-unicode-2500-33ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1001 ; "Unicode characters of the range U+2500..U+33FF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1002 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1003 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1004 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1005 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1006 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1007 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1008 ; final ?2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1009 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1010 ; short-name "Unicode subset 2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1011 ; long-name "Unicode subset (U+2500..U+33FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1012 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1013
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1014
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1015 ; (make-charset 'mule-unicode-e000-ffff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1016 ; "Unicode characters of the range U+E000..U+FFFF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1017 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1018 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1019 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1020 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1021 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1022 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1023 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1024 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1025 ; short-name "Unicode subset 3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1026 ; long-name "Unicode subset (U+E000+FFFF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1027 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1028
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1029
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1030 ; (make-charset 'mule-unicode-0100-24ff
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1031 ; "Unicode characters of the range U+0100..U+24FF."
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1032 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1033 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1034 ; registry "ISO10646-1"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1035 ; chars 96
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1036 ; columns 1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1037 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1038 ; final ?1
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1039 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1040 ; short-name "Unicode subset"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1041 ; long-name "Unicode subset (U+0100..U+24FF)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1042 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1043
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1044
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1045 ; ;; 2-byte 2-column charsets. Valid range of CHARSET-ID is 245..254.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1046
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1047 ; ;; Ethiopic characters (Amahric and Tigrigna).
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1048 ; (make-charset 'ethiopic "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1049 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1050 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1051 ; registry "Ethiopic-Unicode"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1052 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1053 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1054 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1055 ; final ?3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1056 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1057 ; short-name "Ethiopic"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1058 ; long-name "Ethiopic characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1059 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1060
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1061
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1062 ; ;; Chinese CNS11643 Plane3 thru Plane7. Although these are official
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1063 ; ;; character sets, the use is rare and don't have to be treated
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1064 ; ;; space-efficiently in the buffer.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1065 ; (make-charset 'chinese-cns11643-3
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1066 ; "CNS11643 Plane 3 Chinese Traditional: ISO-IR-183"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1067 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1068 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1069 ; registry "CNS11643.1992-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1070 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1071 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1072 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1073 ; final ?I
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1074 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1075 ; short-name "CNS11643-3"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1076 ; long-name "CNS11643-3 (Chinese traditional): ISO-IR-183"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1077 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1078
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1079 ; (make-charset 'chinese-cns11643-4
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1080 ; "CNS11643 Plane 4 Chinese Traditional: ISO-IR-184"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1081 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1082 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1083 ; registry "CNS11643.1992-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1084 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1085 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1086 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1087 ; final ?J
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1088 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1089 ; short-name "CNS11643-4"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1090 ; long-name "CNS11643-4 (Chinese traditional): ISO-IR-184"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1091 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1092
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1093 ; (make-charset 'chinese-cns11643-5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1094 ; "CNS11643 Plane 5 Chinese Traditional: ISO-IR-185"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1095 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1096 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1097 ; registry "CNS11643.1992-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1098 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1099 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1100 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1101 ; final ?K
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1102 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1103 ; short-name "CNS11643-5"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1104 ; long-name "CNS11643-5 (Chinese traditional): ISO-IR-185"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1105 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1106
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1107 ; (make-charset 'chinese-cns11643-6
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1108 ; "CNS11643 Plane 6 Chinese Traditional: ISO-IR-186"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1109 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1110 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1111 ; registry "CNS11643.1992-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1112 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1113 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1114 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1115 ; final ?L
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1116 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1117 ; short-name "CNS11643-6"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1118 ; long-name "CNS11643-6 (Chinese traditional): ISO-IR-186"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1119 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1120
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1121 ; (make-charset 'chinese-cns11643-7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1122 ; "CNS11643 Plane 7 Chinese Traditional: ISO-IR-187"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1123 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1124 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1125 ; registry "CNS11643.1992-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1126 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1127 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1128 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1129 ; final ?M
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1130 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1131 ; short-name "CNS11643-7"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1132 ; long-name "CNS11643-7 (Chinese traditional): ISO-IR-187"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1133 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1134
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1135
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1136 ; ;; Actual Glyph for 2-column width.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1137 ; (make-charset 'indian-2-column
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1138 ; "Indian charset for 2-column width glyphs"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1139 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1140 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1141 ; registry "MuleIndian-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1142 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1143 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1144 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1145 ; final ?5
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1146 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1147 ; short-name "Indian 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1148 ; long-name "Indian 2 Column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1149 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1150
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1151
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1152 ; ;; Tibetan script.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1153 ; (make-charset 'tibetan "Tibetan characters"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1154 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1155 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1156 ; registry "MuleTibetan-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1157 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1158 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1159 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1160 ; final ?7
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1161 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1162 ; short-name "Tibetan 2-col"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1163 ; long-name "Tibetan 2 column"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1164 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1165
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1166
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1167 ; ;; CHARSET-ID 253 is not used.
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1168
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1169 ; ;; JISX0213 Plane 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1170 ; (make-charset 'japanese-jisx0213-2 "JISX0213 Plane 2 (Japanese)"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1171 ; '(dimension
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1172 ; 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1173 ; registry "JISX0213.2000-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1174 ; chars 94
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1175 ; columns 2
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1176 ; direction l2r
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1177 ; final ?P
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1178 ; graphic 0
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1179 ; short-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1180 ; long-name "JISX0213-2"
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1181 ; ))
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1182
428
3ecd8885ac67 Import from CVS: tag r21-2-22
cvs
parents:
diff changeset
1183 ;;; mule-charset.el ends here
778
2923009caf47 [xemacs-hg @ 2002-03-16 10:38:59 by ben]
ben
parents: 777
diff changeset
1184