annotate lisp/language/european.el @ 36434:40cfe4976f04

(make_process): Use allocate_process.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Feb 2001 13:29:03 +0000
parents c26260dd320b
children afe2778e4c9d
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23158
5c0a4ed13900 Add coding: local variable, to avoid bootstrapping problem
Paul Eggert <eggert@twinsun.com>
parents: 23117
diff changeset
1 ;;; european.el --- European languages -*- coding: iso-2022-7bit; -*-
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
2
35161
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
3 ;; Copyright (C) 1995, 1997, 2001 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
5
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
6 ;; Keywords: multilingual, European
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
7
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
9
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
13 ;; any later version.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
14
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
19
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
17071
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70194012fb3a Fix FSF address in comment.
Karl Heuer <kwzh@gnu.org>
parents: 17052
diff changeset
23 ;; Boston, MA 02111-1307, USA.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
24
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
25 ;;; Commentary:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
26
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
27 ;; For Europeans, character sets ISO8859-1,2,3,4,9,14,15 are supported.
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
28
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
29 ;;; Code:
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
30
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
31 ;; Latin-1 (ISO-8859-1)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
32
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
33 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
34 'iso-latin-1 2 ?1
23111
f72ce5154071 (iso-latin-1): Doc fix.
Richard M. Stallman <rms@gnu.org>
parents: 23050
diff changeset
35 "ISO 2022 based 8-bit encoding for Latin-1 (MIME:ISO-8859-1)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
36 '(ascii latin-iso8859-1 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
37 nil nil nil nil nil nil nil nil nil nil nil nil t)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
38 '((safe-charsets ascii latin-iso8859-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
39 (mime-charset . iso-8859-1)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
40
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
41 (define-coding-system-alias 'iso-8859-1 'iso-latin-1)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
42 (define-coding-system-alias 'latin-1 'iso-latin-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
43
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
44 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
45 "Latin-1" '((charset ascii latin-iso8859-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
46 (coding-system iso-latin-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
47 (coding-priority iso-latin-1)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
48 (nonascii-translation . latin-iso8859-1)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
49 (unibyte-syntax . "latin-1")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
50 (unibyte-display . iso-latin-1)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
51 (input-method . "latin-1-prefix")
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
52 (sample-text
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
53 . "Hello, Hej, Tere, Hei, Bonjour, Gr,A|_(B Gott, Ciao, ,A!(BHola!")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
54 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
55 This language environment is a generic one for the Latin-1 (ISO-8859-1)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
56 character set which supports the following European languages:
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
57 Albanian, Basque, Breton, Catalan, Danish, Dutch, English, Faeroese,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
58 Finnish, French (with restrictions -- see Latin-9), Frisian, Galician,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
59 German, Greenlandic, Icelandic, Irish Gaelic (new orthography),
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
60 Italian, Latin, Luxemburgish, Norwegian, Portuguese, Rhaeto-Romanic,
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
61 Scottish Gaelic, Spanish, and Swedish.
35350
c26260dd320b ("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents: 35330
diff changeset
62 We also have specific language environments for the following languages:
c26260dd320b ("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents: 35330
diff changeset
63 For Dutch, \"Dutch\".
c26260dd320b ("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents: 35330
diff changeset
64 For German, \"German\".
c26260dd320b ("Latin-1"): Make the format of description
Kenichi Handa <handa@m17n.org>
parents: 35330
diff changeset
65 For Spanish, \"Spanish\".
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
66
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
67 Latin-1 also covers several written languages outside Europe, including
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
68 Indonesian/Malay, Tagalog (Philippines), Swahili and Afrikaans."))
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
69 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
70
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
71
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
72 ;; Latin-2 (ISO-8859-2)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
73
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
74 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
75 'iso-latin-2 2 ?2
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
76 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-2)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
77 '(ascii latin-iso8859-2 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
78 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
79 '((safe-charsets ascii latin-iso8859-2)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
80 (mime-charset . iso-8859-2)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
81
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
82 (define-coding-system-alias 'iso-8859-2 'iso-latin-2)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
83 (define-coding-system-alias 'latin-2 'iso-latin-2)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
84
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
85 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
86 "Latin-2" '((charset ascii latin-iso8859-2)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
87 (coding-system iso-latin-2)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
88 (coding-priority iso-latin-2)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
89 (nonascii-translation . latin-iso8859-2)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
90 (unibyte-syntax . "latin-2")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
91 (unibyte-display . iso-latin-2)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
92 (input-method . "latin-2-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
93 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
94 This language environment is a generic one for the Latin-2 (ISO-8859-2)
23117
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
95 character set which supports the following languages:
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
96 Albanian, Czech, English, German, Hungarian, Polish, Romanian,
20232
5031189adff2 Add "Upper Sorbian" and "Lower Sorbian" in
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
97 Serbo-Croatian or Croatian, Slovak, Slovene, Sorbian (upper and lower),
23117
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
98 and Swedish.
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
99 We also have specific language environments for the following languages:
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
100 For Czech, \"Czech\".
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
101 For Romanian, \"Romanian\".
13247082e0ed ("Latin-1"): Modify `documentation' key value.
Kenichi Handa <handa@m17n.org>
parents: 23111
diff changeset
102 For Slovak, \"Slovak\"."))
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
103 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
104
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
105
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
106 ;; Latin-3 (ISO-8859-3)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
107
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
108 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
109 'iso-latin-3 2 ?3
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
110 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-3)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
111 '(ascii latin-iso8859-3 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
112 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
113 '((safe-charsets ascii latin-iso8859-3)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
114 (mime-charset . iso-8859-3)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
115
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
116 (define-coding-system-alias 'iso-8859-3 'iso-latin-3)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
117 (define-coding-system-alias 'latin-3 'iso-latin-3)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
118
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
119 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
120 "Latin-3" '((charset ascii latin-iso8859-3)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
121 (coding-system iso-latin-3)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
122 (coding-priority iso-latin-3)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
123 (nonascii-translation . latin-iso8859-3)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
124 (unibyte-syntax . "latin-3")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
125 (unibyte-display . iso-latin-3)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
126 (input-method . "latin-3-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
127 (documentation . "\
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
128 These languages are supported with the Latin-3 (ISO-8859-3) character set:
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
129 Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician,
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
130 German, Italian, Maltese, Spanish, and Turkish."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
131 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
132
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
133
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
134 ;; Latin-4 (ISO-8859-4)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
135
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
136 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
137 'iso-latin-4 2 ?4
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
138 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-4)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
139 '(ascii latin-iso8859-4 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
140 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
141 '((safe-charsets ascii latin-iso8859-4)
28702
8ed2572aa67c (iso-latin-4): Fix typo.
Gerd Moellmann <gerd@gnu.org>
parents: 28436
diff changeset
142 (mime-charset . iso-8859-4)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
143
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
144 (define-coding-system-alias 'iso-8859-4 'iso-latin-4)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
145 (define-coding-system-alias 'latin-4 'iso-latin-4)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
146
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
147 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
148 "Latin-4" '((charset ascii latin-iso8859-4)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
149 (coding-system iso-8859-4)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
150 (coding-priority iso-8859-4)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
151 (nonascii-translation . latin-iso8859-4)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
152 (unibyte-syntax . "latin-4")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
153 (unibyte-display . iso-8859-4)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
154 (input-method . "latin-4-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
155 (documentation . "\
18117
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
156 These languages are supported with the Latin-4 (ISO-8859-4) character set:
5db3b24f2c5c (iso-8859-1): Use `1' for mode line.
Richard M. Stallman <rms@gnu.org>
parents: 18069
diff changeset
157 Danish, English, Estonian, Finnish, German, Greenlandic, Lappish,
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
158 Latvian, Lithuanian, and Norwegian."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
159 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
160
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
161
18069
d6b58197bd69 Rename language environments from LatinN to Latin-N.
Richard M. Stallman <rms@gnu.org>
parents: 17993
diff changeset
162 ;; Latin-5 (ISO-8859-9)
17993
73869115ae0a Most of setup-LANGUAGE-environment functions are
Kenichi Handa <handa@m17n.org>
parents: 17841
diff changeset
163
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
164 (make-coding-system
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
165 'iso-latin-5 2 ?9
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
166 "ISO 2022 based 8-bit encoding (MIME:ISO-8859-9)"
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
167 '(ascii latin-iso8859-9 nil nil
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
168 nil nil nil nil nil nil nil)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
169 '((safe-charsets ascii latin-iso8859-9)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
170 (mime-charset . iso-8859-9)))
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
171
18520
383d11185239 Swap args to define-coding-system-alias.
Richard M. Stallman <rms@gnu.org>
parents: 18377
diff changeset
172 (define-coding-system-alias 'iso-8859-9 'iso-latin-5)
18622
fe2070df967e (latin-1, latin-2. latin-3, latin-4, latin-5):
Richard M. Stallman <rms@gnu.org>
parents: 18543
diff changeset
173 (define-coding-system-alias 'latin-5 'iso-latin-5)
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 18159
diff changeset
174
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
175 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
176 "Latin-5" '((charset ascii latin-iso8859-9)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
177 (coding-system iso-latin-5)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
178 (coding-priority iso-latin-5)
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
179 (nonascii-translation . latin-iso8859-9)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
180 (unibyte-syntax . "latin-5")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
181 (unibyte-display . iso-latin-5)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
182 (input-method . "latin-5-prefix")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
183 (documentation . "\
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
184 These languages are supported with the Latin-5 (ISO-8859-9) character set:
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
185 Bulgarian, Byelorussian, (Slavic) Macedonian, Russian, Serbian and
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
186 Ukranian.")) ; says ISO 8859-1
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
187 '("European"))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
188
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
189
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
190 ;; Latin-8 (ISO-8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
191
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
192 (make-coding-system
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
193 'iso-latin-8 2 ?W ; `W' for `Welsh', since `C'
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
194 ; for `Celtic' is taken.
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
195 "ISO 2022 based 8-bit encoding for Latin-8 (MIME:ISO-8859-14)"
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
196 '(ascii latin-iso8859-14 nil nil
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
197 nil nil nil nil nil nil nil nil nil nil nil nil t)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
198 '((safe-charsets ascii latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
199 (mime-charset . iso-8859-14)))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
200
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
201 (define-coding-system-alias 'iso-8859-14 'iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
202 (define-coding-system-alias 'latin-8 'iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
203
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
204 (set-language-info-alist
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
205 "Latin-8" '((charset ascii latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
206 (coding-system iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
207 (coding-priority iso-latin-8)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
208 (nonascii-translation . latin-iso8859-14)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
209 (unibyte-syntax . "latin-8")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
210 (unibyte-display . iso-latin-8)
31155
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
211 (input-method . "latin-8-prefix")
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
212 ;; Fixme: Welsh/Ga{e}lic greetings
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
213 (sample-text . ",_"(B ,_p(B ,_^(B")
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
214 (documentation . "\
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
215 This language environment is a generic one for the Latin-8 (ISO-8859-14)
31155
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
216 character set which supports the Celtic languages, including those not
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
217 covered by other ISO-8859 character sets: Welsh, Manx Gaelic and
26134
86441316f662 Latin-8 doc fix.
Dave Love <fx@gnu.org>
parents: 26014
diff changeset
218 Irish Gaelic (old orthography)."))
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
219 '("European"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
220
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
221 ;; Latin-9 (ISO-8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
222
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
223 (make-coding-system
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
224 'iso-latin-9 2 ?0 ; `0' for `Latin-0'
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
225 "ISO 2022 based 8-bit encoding for Latin-9 (MIME:ISO-8859-15)"
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
226 '(ascii latin-iso8859-15 nil nil
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
227 nil nil nil nil nil nil nil nil nil nil nil nil t)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
228 '((safe-charsets ascii latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
229 (mime-charset . iso-8859-15)))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
230
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
231 (define-coding-system-alias 'iso-8859-15 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
232 (define-coding-system-alias 'latin-9 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
233 (define-coding-system-alias 'latin-0 'iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
234
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
235 (set-language-info-alist
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
236 "Latin-9" '((charset ascii latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
237 (coding-system iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
238 (coding-priority iso-latin-9)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
239 (nonascii-translation . latin-iso8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
240 (unibyte-syntax . "latin-9")
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
241 (unibyte-display . iso-latin-9)
31155
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
242 (input-method . "latin-9-prefix")
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
243 (sample-text
31155
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
244 . "AVE. ,b&(48<=>(B ,b$(B")
26014
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
245 (documentation . "\
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
246 This language environment is a generic one for the Latin-9 (ISO-8859-15)
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
247 character set which supports the same languages as Latin-1 with the
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
248 addition of the Euro sign and some additional French and Finnish letters.
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
249 Latin-9 is sometimes nicknamed `Latin-0'."))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
250 '("European"))
e84e2bf4f9fb Add Latin-8, Latin-9. Modify some doc
Dave Love <fx@gnu.org>
parents: 25773
diff changeset
251
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
252 (set-language-info-alist
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
253 "German" '((tutorial . "TUTORIAL.de")
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
254 (charset ascii latin-iso8859-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
255 (coding-system iso-latin-1)
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
256 (coding-priority iso-latin-1)
23050
c3cb64f8dc9c Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 23048
diff changeset
257 (input-method . "german-postfix")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
258 (nonascii-translation . iso-latin-1)
22726
e44440f1a80e Define unibyte-syntax in each of these language environments.
Richard M. Stallman <rms@gnu.org>
parents: 22075
diff changeset
259 (unibyte-syntax . "latin-1")
22980
5681e7798ce9 (setup-8-bit-environment): Function deleted.
Kenichi Handa <handa@m17n.org>
parents: 22726
diff changeset
260 (unibyte-display . iso-latin-1)
20743
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
261 (sample-text . "\
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
262 German (Deutsch Nord) Guten Tag
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
263 German (Deutsch S,A|(Bd) Gr,A|_(B Gott")
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
264 (documentation . "\
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
265 This language environment is almost the same as Latin-1,
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
266 but default input method is set to \"german-postfix\"."))
ffa67db916b4 Remove setting up of
Kenichi Handa <handa@m17n.org>
parents: 20232
diff changeset
267 '("European"))
17302
1012d679efd4 English related codes are moved to
Kenichi Handa <handa@m17n.org>
parents: 17098
diff changeset
268
24269
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
269 (set-language-info-alist
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
270 "Slovenian" '((charset . (ascii latin-iso8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
271 (coding-system . (iso-8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
272 (coding-priority . (iso-8859-2))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
273 (nonascii-translation . latin-iso8859-2)
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
274 (input-method . "latin-2-postfix")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
275 (unibyte-syntax . "latin-2")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
276 (unibyte-display . iso-8859-2)
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
277 (tutorial . "TUTORIAL.sl")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
278 (sample-text . ",B.(Belimo vam uspe,B9(Ben dan!")
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
279 (documentation . t))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
280 '("European"))
a29550b1d150 (setup-slovenian-environment): New function.
Richard M. Stallman <rms@gnu.org>
parents: 23158
diff changeset
281
35161
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
282 (set-language-info-alist
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
283 "Spanish" '((tutorial . "TUTORIAL.es")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
284 (charset ascii latin-iso8859-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
285 (coding-system iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
286 (coding-priority iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
287 (input-method . "spanish-postfix")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
288 (nonascii-translation . iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
289 (unibyte-syntax . "latin-1")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
290 (unibyte-display . iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
291 (sample-text . "Spanish (Espa,Aq(Bol) ,A!(BHola!")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
292 (documentation . "\
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
293 This language environment is almost the same as Latin-1,
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
294 but default input method is set to \"spanish-postfix\",
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
295 and select's the Spanish tutorial."))
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
296 '("European"))
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
297
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
298 (set-language-info-alist
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
299 "Dutch" '((tutorial . "TUTORIAL.nl")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
300 (charset ascii latin-iso8859-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
301 (coding-system iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
302 (coding-priority iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
303 (nonascii-translation . iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
304 (unibyte-syntax . "latin-1")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
305 (unibyte-display . iso-latin-1)
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
306 (sample-text . "Er is een aantal manieren waarop je dit kan doen")
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
307 (documentation . "\
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
308 This language environment is almost the same as Latin-1,
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
309 but select's the Dutch tutorial."))
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
310 '("European"))
0495de5487ae Add Dutch and Spanish language info
Gerd Moellmann <gerd@gnu.org>
parents: 33513
diff changeset
311
25773
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
312 ;; For Turkish, the character set ISO-8859-9 (Latin-5) is used. But,
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
313 ;; before the introduction of ISO-8859-9 in 1988, ISO-8859-3 (Latin-3)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
314 ;; was used for Turkish. Those who use Latin-3 for Turkish should use
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
315 ;; "Latin-3" language environment.
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
316
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
317 (set-language-info-alist
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
318 "Turkish" '((charset ascii latin-iso8859-9)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
319 (coding-system iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
320 (coding-priority iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
321 (nonascii-translation . latin-iso8859-9)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
322 (unibyte-syntax . "latin-5")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
323 (unibyte-display . iso-latin-5)
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
324 (input-method . "turkish-postfix")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
325 (sample-text . "Turkish (T,M|(Brk,Mg(Be) Merhaba")
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
326 (documentation . t)))
20234157d093 ("Turkish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 25228
diff changeset
327
28436
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
328 ;; Polish ISO 8859-2 environment.
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
329 ;; Maintainer: Wlodek Bzyl <matwb@univ.gda.pl>
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
330 ;; Keywords: multilingual, Polish
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
331
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
332 (set-language-info-alist
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
333 "Polish" '((charset . (ascii latin-iso8859-2))
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
334 (coding-system . (iso-8859-2))
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
335 (coding-priority . (iso-8859-2))
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
336 (input-method . "polish-slash")
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
337 (nonascii-translation . latin-iso8859-2)
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
338 (unibyte-syntax . "latin-2")
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
339 (unibyte-display . iso-8859-2)
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
340 (tutorial . "TUTORIAL.pl")
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
341 (sample-text . ",B1!fFjJ3#qQsS6&?/<,(B")
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
342 (documentation . t))
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
343 '("European"))
2dbedede8507 ("Polish"): New language environment.
Kenichi Handa <handa@m17n.org>
parents: 26134
diff changeset
344
33049
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
345
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
346 ;; Definitions for the Mac Roman character sets and coding system.
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
347 ;; The Mac Roman encoding uses all 128 code points in the range 128 to
33513
22f3e20ce180 comment fix
Dave Love <fx@gnu.org>
parents: 33222
diff changeset
348 ;; 255 for actual characters. Emacs decodes them to one of the
33049
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
349 ;; following character sets.
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
350 ;; ascii, latin-iso8859-1, mule-unicode-0100-24ff,
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
351 ;; mule-unicode-2500-33ff, mule-unicode-e000-ffff
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
352
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
353 (let
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
354 ((encoding-vector (make-vector 256 nil))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
355 (i 0)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
356 (vec ;; mac-roman (128..255) -> UCS mapping
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
357 [ #x00C4 ;; 128:LATIN CAPITAL LETTER A WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
358 #x00C5 ;; 129:LATIN CAPITAL LETTER A WITH RING ABOVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
359 #x00C7 ;; 130:LATIN CAPITAL LETTER C WITH CEDILLA
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
360 #x00C9 ;; 131:LATIN CAPITAL LETTER E WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
361 #x00D1 ;; 132:LATIN CAPITAL LETTER N WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
362 #x00D6 ;; 133:LATIN CAPITAL LETTER O WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
363 #x00DC ;; 134:LATIN CAPITAL LETTER U WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
364 #x00E1 ;; 135:LATIN SMALL LETTER A WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
365 #x00E0 ;; 136:LATIN SMALL LETTER A WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
366 #x00E2 ;; 137:LATIN SMALL LETTER A WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
367 #x00E4 ;; 138:LATIN SMALL LETTER A WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
368 #x00E3 ;; 139:LATIN SMALL LETTER A WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
369 #x00E5 ;; 140:LATIN SMALL LETTER A WITH RING ABOVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
370 #x00E7 ;; 141:LATIN SMALL LETTER C WITH CEDILLA
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
371 #x00E9 ;; 142:LATIN SMALL LETTER E WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
372 #x00E8 ;; 143:LATIN SMALL LETTER E WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
373 #x00EA ;; 144:LATIN SMALL LETTER E WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
374 #x00EB ;; 145:LATIN SMALL LETTER E WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
375 #x00ED ;; 146:LATIN SMALL LETTER I WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
376 #x00EC ;; 147:LATIN SMALL LETTER I WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
377 #x00EE ;; 148:LATIN SMALL LETTER I WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
378 #x00EF ;; 149:LATIN SMALL LETTER I WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
379 #x00F1 ;; 150:LATIN SMALL LETTER N WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
380 #x00F3 ;; 151:LATIN SMALL LETTER O WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
381 #x00F2 ;; 152:LATIN SMALL LETTER O WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
382 #x00F4 ;; 153:LATIN SMALL LETTER O WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
383 #x00F6 ;; 154:LATIN SMALL LETTER O WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
384 #x00F5 ;; 155:LATIN SMALL LETTER O WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
385 #x00FA ;; 156:LATIN SMALL LETTER U WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
386 #x00F9 ;; 157:LATIN SMALL LETTER U WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
387 #x00FB ;; 158:LATIN SMALL LETTER U WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
388 #x00FC ;; 159:LATIN SMALL LETTER U WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
389 #x2020 ;; 160:DAGGER
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
390 #x00B0 ;; 161:DEGREE SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
391 #x00A2 ;; 162:CENT SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
392 #x00A3 ;; 163:POUND SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
393 #x00A7 ;; 164:SECTION SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
394 #x2022 ;; 165:BULLET
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
395 #x00B6 ;; 166:PILCROW SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
396 #x00DF ;; 167:LATIN SMALL LETTER SHARP S
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
397 #x00AE ;; 168:REGISTERED SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
398 #x00A9 ;; 169:COPYRIGHT SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
399 #x2122 ;; 170:TRADE MARK SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
400 #x00B4 ;; 171:ACUTE ACCENT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
401 #x00A8 ;; 172:DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
402 #x2260 ;; 173:NOT EQUAL TO
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
403 #x00C6 ;; 174:LATIN CAPITAL LETTER AE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
404 #x00D8 ;; 175:LATIN CAPITAL LETTER O WITH STROKE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
405 #x221E ;; 176:INFINITY
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
406 #x00B1 ;; 177:PLUS-MINUS SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
407 #x2264 ;; 178:LESS-THAN OR EQUAL TO
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
408 #x2265 ;; 179:GREATER-THAN OR EQUAL TO
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
409 #x00A5 ;; 180:YEN SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
410 #x00B5 ;; 181:MICRO SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
411 #x2202 ;; 182:PARTIAL DIFFERENTIAL
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
412 #x2211 ;; 183:N-ARY SUMMATION
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
413 #x220F ;; 184:N-ARY PRODUCT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
414 #x03C0 ;; 185:GREEK SMALL LETTER PI
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
415 #x222B ;; 186:INTEGRAL
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
416 #x00AA ;; 187:FEMININE ORDINAL INDICATOR
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
417 #x00BA ;; 188:MASCULINE ORDINAL INDICATOR
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
418 #x03A9 ;; 189:GREEK CAPITAL LETTER OMEGA
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
419 #x00E6 ;; 190:LATIN SMALL LETTER AE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
420 #x00F8 ;; 191:LATIN SMALL LETTER O WITH STROKE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
421 #x00BF ;; 192:INVERTED QUESTION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
422 #x00A1 ;; 193:INVERTED EXCLAMATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
423 #x00AC ;; 194:NOT SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
424 #x221A ;; 195:SQUARE ROOT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
425 #x0192 ;; 196:LATIN SMALL LETTER F WITH HOOK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
426 #x2248 ;; 197:ALMOST EQUAL TO
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
427 #x2206 ;; 198:INCREMENT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
428 #x00AB ;; 199:LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
429 #x00BB ;; 200:RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
430 #x2026 ;; 201:HORIZONTAL ELLIPSIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
431 #x00A0 ;; 202:NO-BREAK SPACE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
432 #x00C0 ;; 203:LATIN CAPITAL LETTER A WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
433 #x00C3 ;; 204:LATIN CAPITAL LETTER A WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
434 #x00D5 ;; 205:LATIN CAPITAL LETTER O WITH TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
435 #x0152 ;; 206:LATIN CAPITAL LIGATURE OE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
436 #x0153 ;; 207:LATIN SMALL LIGATURE OE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
437 #x2013 ;; 208:EN DASH
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
438 #x2014 ;; 209:EM DASH
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
439 #x201C ;; 210:LEFT DOUBLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
440 #x201D ;; 211:RIGHT DOUBLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
441 #x2018 ;; 212:LEFT SINGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
442 #x2019 ;; 213:RIGHT SINGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
443 #x00F7 ;; 214:DIVISION SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
444 #x25CA ;; 215:LOZENGE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
445 #x00FF ;; 216:LATIN SMALL LETTER Y WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
446 #x0178 ;; 217:LATIN CAPITAL LETTER Y WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
447 #x2044 ;; 218:FRACTION SLASH
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
448 #x20AC ;; 219:EURO SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
449 #x2039 ;; 220:SINGLE LEFT-POINTING ANGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
450 #x203A ;; 221:SINGLE RIGHT-POINTING ANGLE QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
451 #xFB01 ;; 222:LATIN SMALL LIGATURE FI
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
452 #xFB02 ;; 223:LATIN SMALL LIGATURE FL
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
453 #x2021 ;; 224:DOUBLE DAGGER
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
454 #x00B7 ;; 225:MIDDLE DOT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
455 #x201A ;; 226:SINGLE LOW-9 QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
456 #x201E ;; 227:DOUBLE LOW-9 QUOTATION MARK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
457 #x2030 ;; 228:PER MILLE SIGN
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
458 #x00C2 ;; 229:LATIN CAPITAL LETTER A WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
459 #x00CA ;; 230:LATIN CAPITAL LETTER E WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
460 #x00C1 ;; 231:LATIN CAPITAL LETTER A WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
461 #x00CB ;; 232:LATIN CAPITAL LETTER E WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
462 #x00C8 ;; 233:LATIN CAPITAL LETTER E WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
463 #x00CD ;; 234:LATIN CAPITAL LETTER I WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
464 #x00CE ;; 235:LATIN CAPITAL LETTER I WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
465 #x00CF ;; 236:LATIN CAPITAL LETTER I WITH DIAERESIS
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
466 #x00CC ;; 237:LATIN CAPITAL LETTER I WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
467 #x00D3 ;; 238:LATIN CAPITAL LETTER O WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
468 #x00D4 ;; 239:LATIN CAPITAL LETTER O WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
469 #xF8FF ;; 240:Apple logo
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
470 #x00D2 ;; 241:LATIN CAPITAL LETTER O WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
471 #x00DA ;; 242:LATIN CAPITAL LETTER U WITH ACUTE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
472 #x00DB ;; 243:LATIN CAPITAL LETTER U WITH CIRCUMFLEX
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
473 #x00D9 ;; 244:LATIN CAPITAL LETTER U WITH GRAVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
474 #x0131 ;; 245:LATIN SMALL LETTER DOTLESS I
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
475 #x02C6 ;; 246:MODIFIER LETTER CIRCUMFLEX ACCENT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
476 #x02DC ;; 247:SMALL TILDE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
477 #x00AF ;; 248:MACRON
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
478 #x02D8 ;; 249:BREVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
479 #x02D9 ;; 250:DOT ABOVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
480 #x02DA ;; 251:RING ABOVE
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
481 #x00B8 ;; 252:CEDILLA
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
482 #x02DD ;; 253:DOUBLE ACUTE ACCENT
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
483 #x02DB ;; 254:OGONEK
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
484 #x02C7 ;; 255:CARON
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
485 ])
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
486 translation-table)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
487 (while (< i 128)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
488 (aset encoding-vector i i)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
489 (setq i (1+ i)))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
490 (while (< i 256)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
491 (aset encoding-vector i
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
492 (decode-char 'ucs (aref vec (- i 128))))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
493 (setq i (1+ i)))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
494 (setq translation-table
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
495 (make-translation-table-from-vector encoding-vector))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
496 (define-translation-table 'mac-roman-decoder translation-table)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
497 (define-translation-table 'mac-roman-encoder
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
498 (char-table-extra-slot translation-table 0)))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
499
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
500 (define-ccl-program decode-mac-roman
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
501 `(4
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
502 ((loop
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
503 (read r1)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
504 (if (r1 < 128) ;; ASCII
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
505 (r0 = ,(charset-id 'ascii))
33203
e91d2b7a0908 (decode-mac-roman): Test against r1 not r0.
Jason Rumney <jasonr@gnu.org>
parents: 33049
diff changeset
506 (if (r1 < 160)
33049
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
507 (r0 = ,(charset-id 'eight-bit-control))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
508 (r0 = ,(charset-id 'eight-bit-graphic))))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
509 (translate-character mac-roman-decoder r0 r1)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
510 (write-multibyte-character r0 r1)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
511 (repeat))))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
512 "CCL program to decode Mac Roman")
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
513
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
514 (define-ccl-program encode-mac-roman
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
515 `(1
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
516 ((loop
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
517 (read-multibyte-character r0 r1)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
518 (translate-character mac-roman-encoder r0 r1)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
519 (write-repeat r1))))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
520 "CCL program to encode Mac Roman")
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
521
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
522 (make-coding-system
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
523 'mac-roman 4 ?M "Mac Roman Encoding"
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
524 '(decode-mac-roman . encode-mac-roman)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
525 '((safe-chars . mac-roman-encoder)
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
526 (valid-codes (0 . 255))))
fed8d1ebdc15 (mac-roman-decoder, mac-roman-encoder): New translation tables.
Kenichi Handa <handa@m17n.org>
parents: 31155
diff changeset
527
31155
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
528 (provide 'european)
3362938ebbd7 ("Latin-8", "Latin-9"): Add input methods,
Dave Love <fx@gnu.org>
parents: 30261
diff changeset
529
17052
d0d7b244b1d0 Initial revision
Karl Heuer <kwzh@gnu.org>
parents:
diff changeset
530 ;;; european.el ends here