Mercurial > hg > xemacs-beta
annotate lisp/mule/latin.el @ 4447:15dd5229cea5
Support windows-1250 on Unix as well as Windows.
2008-05-07 Aidan Kehoe <kehoea@parhasard.net>
* mule/latin.el (windows-1250): Add the Central European Windows
coding system.
* mule/mule-win32-init.el: Don't use the Windows-specific CP1250
implementation, rely on that in latin.el instead.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Wed, 07 May 2008 21:06:45 +0200 |
parents | 948c9b232595 |
children | b75b075a9041 |
rev | line source |
---|---|
3767 | 1 ;;; latin.el --- Roman-alphabet languages -*- coding: iso-2022-7bit; -*- |
464 | 2 |
3767 | 3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN. |
4 ;; Licensed to the Free Software Foundation. | |
5 ;; Copyright (C) 1997 MORIOKA Tomohiko | |
6 ;; Copyright (C) 2001 Ben Wing. | |
7 ;; Copyright (C) 2002, 2005, 2006 Free Software Foundation | |
8 | |
9 ;; Keywords: multilingual, latin, dumped | |
464 | 10 |
11 ;; This file is part of XEmacs. | |
12 | |
13 ;; XEmacs is free software; you can redistribute it and/or modify it | |
14 ;; under the terms of the GNU General Public License as published by | |
15 ;; the Free Software Foundation; either version 2, or (at your option) | |
16 ;; any later version. | |
17 | |
18 ;; XEmacs is distributed in the hope that it will be useful, but | |
19 ;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
21 ;; General Public License for more details. | |
22 | |
23 ;; You should have received a copy of the GNU General Public License | |
24 ;; along with XEmacs; see the file COPYING. If not, write to the Free | |
25 ;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA | |
26 ;; 02111-1307, USA. | |
27 | |
28 ;;; Commentary: | |
29 | |
3767 | 30 ;; For Roman-alphabet-using Europeans, eight coded character sets, |
31 ;; ISO8859-1,2,3,4,9,14,15,16 are supported. | |
464 | 32 |
33 ;;; Code: | |
34 | |
35 ;; Case table setup. We set up all the case tables using | |
36 ;; put-case-table-pair. The data for this comes from FSF Emacs 20.7 | |
37 ;; (lisp/international/latin-*.el), written by several people and | |
38 ;; updated by Erik Naggum. | |
39 | |
40 (defun setup-case-pairs (charset pairs) | |
3767 | 41 (loop |
42 for (uc lc) in pairs | |
43 with table = (standard-case-table) | |
44 do (put-case-table-pair | |
45 (make-char charset uc) (make-char charset lc) table))) | |
46 | |
47 ;; Latin-1's case is dealt with in iso8859-1.el, which see. Its syntax is | |
48 ;; initialised in syntax.c:complex_vars_of_syntax. | |
464 | 49 |
3767 | 50 |
51 ;; Latin-2 (ISO-8859-2). Central Europe; Czech, Slovak, Hungarian, Polish, | |
52 ;; Croatian, other languages. | |
53 ;; | |
54 ;; (Yes, it really is Central European. German written in Latin 2 and using | |
55 ;; only Umlaute and the sharp S in its non-ASCII repertoire is bit-for-bit | |
56 ;; identical with the same text in Latin-1.) | |
464 | 57 |
3767 | 58 ;; The default character syntax is now word. Pay attention to the |
59 ;; exceptions in ISO-8859-2, copying them from ISO-8859-1. | |
60 (loop | |
61 for (latin-2 latin-1) | |
62 in '((#xA0 #xA0) ;; NO BREAK SPACE | |
63 (#xA2 #xB4) ;; BREVE, ACUTE ACCENT | |
64 (#xA4 #xA4) ;; CURRENCY SIGN | |
65 (#xA7 #xA7) ;; SECTION SIGN | |
66 (#xA8 #xA8) ;; DIAERESIS | |
67 (#xAD #xAD) ;; SOFT HYPHEN | |
68 (#xB0 #xB0) ;; DEGREE SIGN | |
69 (#xB2 #xB4) ;; OGONEK, ACUTE ACCENT | |
70 (#xB4 #xB4) ;; ACUTE ACCENT | |
71 (#xB7 #xB4) ;; CARON, ACUTE ACCENT | |
72 (#xB8 #xB8) ;; CEDILLA | |
73 (#xBD #xB4) ;; DOUBLE ACUTE ACCENT, ACUTE ACCENT | |
74 (#xD7 #xD7) ;; MULTIPLICATION SIGN | |
75 (#xF7 #xF7) ;; DIVISION SIGN | |
76 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT | |
77 with syntax-table = (standard-syntax-table) | |
78 do (modify-syntax-entry | |
79 (make-char 'latin-iso8859-2 latin-2) | |
80 (string (char-syntax (make-char 'latin-iso8859-1 latin-1))) | |
81 syntax-table)) | |
464 | 82 |
3767 | 83 ;; Case. |
464 | 84 (setup-case-pairs |
85 'latin-iso8859-2 | |
3767 | 86 '((#xA1 #xB1) ;; A WITH OGONEK |
87 (#xA3 #xB3) ;; L WITH STROKE | |
88 (#xA5 #xB5) ;; L WITH CARON | |
89 (#xA6 #xB6) ;; S WITH ACUTE | |
90 (#xA9 #xB9) ;; S WITH CARON | |
91 (#xAA #xBA) ;; S WITH CEDILLA | |
92 (#xAB #xBB) ;; T WITH CARON | |
93 (#xAC #xBC) ;; Z WITH ACUTE | |
94 (#xAE #xBE) ;; Z WITH CARON | |
95 (#xAF #xBF) ;; Z WITH DOT ABOVE | |
96 (#xC0 #xE0) ;; R WITH ACUTE | |
97 (#xC1 #xE1) ;; A WITH ACUTE | |
98 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
99 (#xC3 #xE3) ;; A WITH BREVE | |
100 (#xC4 #xE4) ;; A WITH DIAERESIS | |
101 (#xC5 #xE5) ;; L WITH ACUTE | |
102 (#xC6 #xE6) ;; C WITH ACUTE | |
103 (#xC7 #xE7) ;; C WITH CEDILLA | |
104 (#xC8 #xE8) ;; C WITH CARON | |
105 (#xC9 #xE9) ;; E WITH ACUTE | |
106 (#xCA #xEA) ;; E WITH OGONEK | |
107 (#xCB #xEB) ;; E WITH DIAERESIS | |
108 (#xCC #xEC) ;; E WITH CARON | |
109 (#xCD #xED) ;; I WITH ACUTE | |
110 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
111 (#xCF #xEF) ;; D WITH CARON | |
112 (#xD0 #xF0) ;; D WITH STROKE | |
113 (#xD1 #xF1) ;; N WITH ACUTE | |
114 (#xD2 #xF2) ;; N WITH CARON | |
115 (#xD3 #xF3) ;; O WITH ACUTE | |
116 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
117 (#xD5 #xF5) ;; O WITH DOUBLE ACUTE | |
118 (#xD6 #xF6) ;; O WITH DIAERESIS | |
119 (#xD8 #xF8) ;; R WITH CARON | |
120 (#xD9 #xF9) ;; U WITH RING ABOVE | |
121 (#xDA #xFA) ;; U WITH ACUTE | |
122 (#xDB #xFB) ;; U WITH DOUBLE ACUTE | |
123 (#xDC #xFC) ;; U WITH DIAERESIS | |
124 (#xDD #xFD) ;; Y WITH ACUTE | |
125 (#xDE #xFE))) ;; T WITH CEDILLA | |
464 | 126 |
4299 | 127 (make-8-bit-coding-system |
128 'iso-8859-2 | |
129 '((#xA1 ?\u0104) ;; LATIN CAPITAL LETTER A WITH OGONEK | |
130 (#xA2 ?\u02D8) ;; BREVE | |
131 (#xA3 ?\u0141) ;; LATIN CAPITAL LETTER L WITH STROKE | |
132 (#xA5 ?\u013D) ;; LATIN CAPITAL LETTER L WITH CARON | |
133 (#xA6 ?\u015A) ;; LATIN CAPITAL LETTER S WITH ACUTE | |
134 (#xA9 ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON | |
135 (#xAA ?\u015E) ;; LATIN CAPITAL LETTER S WITH CEDILLA | |
136 (#xAB ?\u0164) ;; LATIN CAPITAL LETTER T WITH CARON | |
137 (#xAC ?\u0179) ;; LATIN CAPITAL LETTER Z WITH ACUTE | |
138 (#xAE ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON | |
139 (#xAF ?\u017B) ;; LATIN CAPITAL LETTER Z WITH DOT ABOVE | |
140 (#xB1 ?\u0105) ;; LATIN SMALL LETTER A WITH OGONEK | |
141 (#xB2 ?\u02DB) ;; OGONEK | |
142 (#xB3 ?\u0142) ;; LATIN SMALL LETTER L WITH STROKE | |
143 (#xB5 ?\u013E) ;; LATIN SMALL LETTER L WITH CARON | |
144 (#xB6 ?\u015B) ;; LATIN SMALL LETTER S WITH ACUTE | |
145 (#xB7 ?\u02C7) ;; CARON | |
146 (#xB9 ?\u0161) ;; LATIN SMALL LETTER S WITH CARON | |
147 (#xBA ?\u015F) ;; LATIN SMALL LETTER S WITH CEDILLA | |
148 (#xBB ?\u0165) ;; LATIN SMALL LETTER T WITH CARON | |
149 (#xBC ?\u017A) ;; LATIN SMALL LETTER Z WITH ACUTE | |
150 (#xBD ?\u02DD) ;; DOUBLE ACUTE ACCENT | |
151 (#xBE ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON | |
152 (#xBF ?\u017C) ;; LATIN SMALL LETTER Z WITH DOT ABOVE | |
153 (#xC0 ?\u0154) ;; LATIN CAPITAL LETTER R WITH ACUTE | |
154 (#xC3 ?\u0102) ;; LATIN CAPITAL LETTER A WITH BREVE | |
155 (#xC5 ?\u0139) ;; LATIN CAPITAL LETTER L WITH ACUTE | |
156 (#xC6 ?\u0106) ;; LATIN CAPITAL LETTER C WITH ACUTE | |
157 (#xC8 ?\u010C) ;; LATIN CAPITAL LETTER C WITH CARON | |
158 (#xCA ?\u0118) ;; LATIN CAPITAL LETTER E WITH OGONEK | |
159 (#xCC ?\u011A) ;; LATIN CAPITAL LETTER E WITH CARON | |
160 (#xCF ?\u010E) ;; LATIN CAPITAL LETTER D WITH CARON | |
161 (#xD0 ?\u0110) ;; LATIN CAPITAL LETTER D WITH STROKE | |
162 (#xD1 ?\u0143) ;; LATIN CAPITAL LETTER N WITH ACUTE | |
163 (#xD2 ?\u0147) ;; LATIN CAPITAL LETTER N WITH CARON | |
164 (#xD5 ?\u0150) ;; LATIN CAPITAL LETTER O WITH DOUBLE ACUTE | |
165 (#xD8 ?\u0158) ;; LATIN CAPITAL LETTER R WITH CARON | |
166 (#xD9 ?\u016E) ;; LATIN CAPITAL LETTER U WITH RING ABOVE | |
167 (#xDB ?\u0170) ;; LATIN CAPITAL LETTER U WITH DOUBLE ACUTE | |
168 (#xDE ?\u0162) ;; LATIN CAPITAL LETTER T WITH CEDILLA | |
169 (#xE0 ?\u0155) ;; LATIN SMALL LETTER R WITH ACUTE | |
170 (#xE3 ?\u0103) ;; LATIN SMALL LETTER A WITH BREVE | |
171 (#xE5 ?\u013A) ;; LATIN SMALL LETTER L WITH ACUTE | |
172 (#xE6 ?\u0107) ;; LATIN SMALL LETTER C WITH ACUTE | |
173 (#xE8 ?\u010D) ;; LATIN SMALL LETTER C WITH CARON | |
174 (#xEA ?\u0119) ;; LATIN SMALL LETTER E WITH OGONEK | |
175 (#xEC ?\u011B) ;; LATIN SMALL LETTER E WITH CARON | |
176 (#xEF ?\u010F) ;; LATIN SMALL LETTER D WITH CARON | |
177 (#xF0 ?\u0111) ;; LATIN SMALL LETTER D WITH STROKE | |
178 (#xF1 ?\u0144) ;; LATIN SMALL LETTER N WITH ACUTE | |
179 (#xF2 ?\u0148) ;; LATIN SMALL LETTER N WITH CARON | |
180 (#xF5 ?\u0151) ;; LATIN SMALL LETTER O WITH DOUBLE ACUTE | |
181 (#xF8 ?\u0159) ;; LATIN SMALL LETTER R WITH CARON | |
182 (#xF9 ?\u016F) ;; LATIN SMALL LETTER U WITH RING ABOVE | |
183 (#xFB ?\u0171) ;; LATIN SMALL LETTER U WITH DOUBLE ACUTE | |
184 (#xFE ?\u0163) ;; LATIN SMALL LETTER T WITH CEDILLA | |
185 (#xFF ?\u02D9));; DOT ABOVE | |
186 "ISO-8859-2 (Latin-2) for Central Europe. | |
187 See also `windows-1250', and `iso-8859-1', which is compatible with Latin 2 | |
188 when used to write German (or English, of course). " | |
189 '(mnemonic "Latin 2" | |
190 aliases (iso-latin-2 latin-2))) | |
4447
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
191 |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
192 (make-8-bit-coding-system |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
193 'windows-1250 |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
194 '((#x80 ?\u20AC) ;; EURO SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
195 (#x82 ?\u201A) ;; SINGLE LOW-9 QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
196 (#x84 ?\u201E) ;; DOUBLE LOW-9 QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
197 (#x85 ?\u2026) ;; HORIZONTAL ELLIPSIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
198 (#x86 ?\u2020) ;; DAGGER |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
199 (#x87 ?\u2021) ;; DOUBLE DAGGER |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
200 (#x89 ?\u2030) ;; PER MILLE SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
201 (#x8A ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
202 (#x8B ?\u2039) ;; SINGLE LEFT-POINTING ANGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
203 (#x8C ?\u015A) ;; LATIN CAPITAL LETTER S WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
204 (#x8D ?\u0164) ;; LATIN CAPITAL LETTER T WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
205 (#x8E ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
206 (#x8F ?\u0179) ;; LATIN CAPITAL LETTER Z WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
207 (#x91 ?\u2018) ;; LEFT SINGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
208 (#x92 ?\u2019) ;; RIGHT SINGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
209 (#x93 ?\u201C) ;; LEFT DOUBLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
210 (#x94 ?\u201D) ;; RIGHT DOUBLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
211 (#x95 ?\u2022) ;; BULLET |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
212 (#x96 ?\u2013) ;; EN DASH |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
213 (#x97 ?\u2014) ;; EM DASH |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
214 (#x99 ?\u2122) ;; TRADE MARK SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
215 (#x9A ?\u0161) ;; LATIN SMALL LETTER S WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
216 (#x9B ?\u203A) ;; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
217 (#x9C ?\u015B) ;; LATIN SMALL LETTER S WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
218 (#x9D ?\u0165) ;; LATIN SMALL LETTER T WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
219 (#x9E ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
220 (#x9F ?\u017A) ;; LATIN SMALL LETTER Z WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
221 (#xA0 ?\u00A0) ;; NO-BREAK SPACE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
222 (#xA1 ?\u02C7) ;; CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
223 (#xA2 ?\u02D8) ;; BREVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
224 (#xA3 ?\u0141) ;; LATIN CAPITAL LETTER L WITH STROKE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
225 (#xA4 ?\u00A4) ;; CURRENCY SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
226 (#xA5 ?\u0104) ;; LATIN CAPITAL LETTER A WITH OGONEK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
227 (#xA6 ?\u00A6) ;; BROKEN BAR |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
228 (#xA7 ?\u00A7) ;; SECTION SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
229 (#xA8 ?\u00A8) ;; DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
230 (#xA9 ?\u00A9) ;; COPYRIGHT SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
231 (#xAA ?\u015E) ;; LATIN CAPITAL LETTER S WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
232 (#xAB ?\u00AB) ;; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
233 (#xAC ?\u00AC) ;; NOT SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
234 (#xAD ?\u00AD) ;; SOFT HYPHEN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
235 (#xAE ?\u00AE) ;; REGISTERED SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
236 (#xAF ?\u017B) ;; LATIN CAPITAL LETTER Z WITH DOT ABOVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
237 (#xB0 ?\u00B0) ;; DEGREE SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
238 (#xB1 ?\u00B1) ;; PLUS-MINUS SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
239 (#xB2 ?\u02DB) ;; OGONEK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
240 (#xB3 ?\u0142) ;; LATIN SMALL LETTER L WITH STROKE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
241 (#xB4 ?\u00B4) ;; ACUTE ACCENT |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
242 (#xB5 ?\u00B5) ;; MICRO SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
243 (#xB6 ?\u00B6) ;; PILCROW SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
244 (#xB7 ?\u00B7) ;; MIDDLE DOT |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
245 (#xB8 ?\u00B8) ;; CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
246 (#xB9 ?\u0105) ;; LATIN SMALL LETTER A WITH OGONEK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
247 (#xBA ?\u015F) ;; LATIN SMALL LETTER S WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
248 (#xBB ?\u00BB) ;; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
249 (#xBC ?\u013D) ;; LATIN CAPITAL LETTER L WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
250 (#xBD ?\u02DD) ;; DOUBLE ACUTE ACCENT |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
251 (#xBE ?\u013E) ;; LATIN SMALL LETTER L WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
252 (#xBF ?\u017C) ;; LATIN SMALL LETTER Z WITH DOT ABOVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
253 (#xC0 ?\u0154) ;; LATIN CAPITAL LETTER R WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
254 (#xC1 ?\u00C1) ;; LATIN CAPITAL LETTER A WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
255 (#xC2 ?\u00C2) ;; LATIN CAPITAL LETTER A WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
256 (#xC3 ?\u0102) ;; LATIN CAPITAL LETTER A WITH BREVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
257 (#xC4 ?\u00C4) ;; LATIN CAPITAL LETTER A WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
258 (#xC5 ?\u0139) ;; LATIN CAPITAL LETTER L WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
259 (#xC6 ?\u0106) ;; LATIN CAPITAL LETTER C WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
260 (#xC7 ?\u00C7) ;; LATIN CAPITAL LETTER C WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
261 (#xC8 ?\u010C) ;; LATIN CAPITAL LETTER C WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
262 (#xC9 ?\u00C9) ;; LATIN CAPITAL LETTER E WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
263 (#xCA ?\u0118) ;; LATIN CAPITAL LETTER E WITH OGONEK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
264 (#xCB ?\u00CB) ;; LATIN CAPITAL LETTER E WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
265 (#xCC ?\u011A) ;; LATIN CAPITAL LETTER E WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
266 (#xCD ?\u00CD) ;; LATIN CAPITAL LETTER I WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
267 (#xCE ?\u00CE) ;; LATIN CAPITAL LETTER I WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
268 (#xCF ?\u010E) ;; LATIN CAPITAL LETTER D WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
269 (#xD0 ?\u0110) ;; LATIN CAPITAL LETTER D WITH STROKE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
270 (#xD1 ?\u0143) ;; LATIN CAPITAL LETTER N WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
271 (#xD2 ?\u0147) ;; LATIN CAPITAL LETTER N WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
272 (#xD3 ?\u00D3) ;; LATIN CAPITAL LETTER O WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
273 (#xD4 ?\u00D4) ;; LATIN CAPITAL LETTER O WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
274 (#xD5 ?\u0150) ;; LATIN CAPITAL LETTER O WITH DOUBLE ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
275 (#xD6 ?\u00D6) ;; LATIN CAPITAL LETTER O WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
276 (#xD7 ?\u00D7) ;; MULTIPLICATION SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
277 (#xD8 ?\u0158) ;; LATIN CAPITAL LETTER R WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
278 (#xD9 ?\u016E) ;; LATIN CAPITAL LETTER U WITH RING ABOVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
279 (#xDA ?\u00DA) ;; LATIN CAPITAL LETTER U WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
280 (#xDB ?\u0170) ;; LATIN CAPITAL LETTER U WITH DOUBLE ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
281 (#xDC ?\u00DC) ;; LATIN CAPITAL LETTER U WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
282 (#xDD ?\u00DD) ;; LATIN CAPITAL LETTER Y WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
283 (#xDE ?\u0162) ;; LATIN CAPITAL LETTER T WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
284 (#xDF ?\u00DF) ;; LATIN SMALL LETTER SHARP S |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
285 (#xE0 ?\u0155) ;; LATIN SMALL LETTER R WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
286 (#xE1 ?\u00E1) ;; LATIN SMALL LETTER A WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
287 (#xE2 ?\u00E2) ;; LATIN SMALL LETTER A WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
288 (#xE3 ?\u0103) ;; LATIN SMALL LETTER A WITH BREVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
289 (#xE4 ?\u00E4) ;; LATIN SMALL LETTER A WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
290 (#xE5 ?\u013A) ;; LATIN SMALL LETTER L WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
291 (#xE6 ?\u0107) ;; LATIN SMALL LETTER C WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
292 (#xE7 ?\u00E7) ;; LATIN SMALL LETTER C WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
293 (#xE8 ?\u010D) ;; LATIN SMALL LETTER C WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
294 (#xE9 ?\u00E9) ;; LATIN SMALL LETTER E WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
295 (#xEA ?\u0119) ;; LATIN SMALL LETTER E WITH OGONEK |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
296 (#xEB ?\u00EB) ;; LATIN SMALL LETTER E WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
297 (#xEC ?\u011B) ;; LATIN SMALL LETTER E WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
298 (#xED ?\u00ED) ;; LATIN SMALL LETTER I WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
299 (#xEE ?\u00EE) ;; LATIN SMALL LETTER I WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
300 (#xEF ?\u010F) ;; LATIN SMALL LETTER D WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
301 (#xF0 ?\u0111) ;; LATIN SMALL LETTER D WITH STROKE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
302 (#xF1 ?\u0144) ;; LATIN SMALL LETTER N WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
303 (#xF2 ?\u0148) ;; LATIN SMALL LETTER N WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
304 (#xF3 ?\u00F3) ;; LATIN SMALL LETTER O WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
305 (#xF4 ?\u00F4) ;; LATIN SMALL LETTER O WITH CIRCUMFLEX |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
306 (#xF5 ?\u0151) ;; LATIN SMALL LETTER O WITH DOUBLE ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
307 (#xF6 ?\u00F6) ;; LATIN SMALL LETTER O WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
308 (#xF7 ?\u00F7) ;; DIVISION SIGN |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
309 (#xF8 ?\u0159) ;; LATIN SMALL LETTER R WITH CARON |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
310 (#xF9 ?\u016F) ;; LATIN SMALL LETTER U WITH RING ABOVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
311 (#xFA ?\u00FA) ;; LATIN SMALL LETTER U WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
312 (#xFB ?\u0171) ;; LATIN SMALL LETTER U WITH DOUBLE ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
313 (#xFC ?\u00FC) ;; LATIN SMALL LETTER U WITH DIAERESIS |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
314 (#xFD ?\u00FD) ;; LATIN SMALL LETTER Y WITH ACUTE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
315 (#xFE ?\u0163) ;; LATIN SMALL LETTER T WITH CEDILLA |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
316 (#xFF ?\u02D9)) ;; DOT ABOVE |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
317 "CP 1250, Microsoft's encoding for Central Europe. |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
318 See also `iso-8859-2' and `window-1252' for Western Europe. " |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
319 '(mnemonic "CP1250" |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
320 aliases (cp1250))) |
15dd5229cea5
Support windows-1250 on Unix as well as Windows.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4325
diff
changeset
|
321 |
3767 | 322 |
323 ;; | |
324 ;; Latin-3 (ISO-8859-3). Esperanto, Maltese and Turkish. Obsolescent. | |
464 | 325 |
3767 | 326 ;; Initialise the non-word syntax codes in ISO-8859-3, copying them from |
327 ;; ISO-8859-1. | |
328 (loop | |
329 for (latin-3 latin-1) | |
330 in '((#xA0 #xA0) ;; NO BREAK SPACE | |
331 (#xA2 #xB4) ;; BREVE, ACUTE ACCENT | |
332 (#xA3 #xA3) ;; POUND SIGN | |
333 (#xA4 #xA4) ;; CURRENCY SIGN | |
334 (#xA7 #xA7) ;; SECTION SIGN | |
335 (#xA8 #xA8) ;; DIAERESIS | |
336 (#xAD #xAD) ;; SOFT HYPHEN | |
337 (#xB0 #xB0) ;; DEGREE SIGN | |
338 (#xB2 #xB2) ;; SUPERSCRIPT TWO | |
339 (#xB3 #xB3) ;; SUPERSCRIPT THREE | |
340 (#xB4 #xB4) ;; ACUTE ACCENT | |
341 (#xB5 #xB5) ;; MICRO SIGN | |
342 (#xB7 #xB7) ;; MIDDLE DOT | |
343 (#xB8 #xB8) ;; CEDILLA | |
344 (#xBD #xBD) ;; VULGAR FRACTION ONE HALF | |
345 (#xD7 #xD7) ;; MULTIPLICATION SIGN | |
346 (#xF7 #xF7) ;; DIVISION SIGN | |
347 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT | |
348 with syntax-table = (standard-syntax-table) | |
349 do (modify-syntax-entry | |
350 (make-char 'latin-iso8859-3 latin-3) | |
351 (string (char-syntax (make-char 'latin-iso8859-1 latin-1))) | |
352 syntax-table)) | |
353 | |
354 ;; Case. | |
464 | 355 (setup-case-pairs |
356 'latin-iso8859-3 | |
3767 | 357 '((#xA1 #xB1) ;; H WITH STROKE |
358 (#xA6 #xB6) ;; H WITH CIRCUMFLEX | |
359 (#xAA #xBA) ;; S WITH CEDILLA | |
360 (#xAB #xBB) ;; G WITH BREVE | |
361 (#xAC #xBC) ;; J WITH CIRCUMFLEX | |
362 (#xAF #xBF) ;; Z WITH DOT ABOVE | |
363 (#xC0 #xE0) ;; A WITH GRAVE | |
364 (#xC1 #xE1) ;; A WITH ACUTE | |
365 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
366 (#xC4 #xE4) ;; A WITH DIAERESIS | |
367 (#xC5 #xE5) ;; C WITH DOT ABOVE | |
368 (#xC6 #xE6) ;; C WITH CIRCUMFLEX | |
369 (#xC7 #xE7) ;; C WITH CEDILLA | |
370 (#xC8 #xE8) ;; E WITH GRAVE | |
371 (#xC9 #xE9) ;; E WITH ACUTE | |
372 (#xCA #xEA) ;; E WITH CIRCUMFLEX | |
373 (#xCB #xEB) ;; E WITH DIAERESIS | |
374 (#xCC #xEC) ;; I WITH GRAVE | |
375 (#xCD #xED) ;; I WITH ACUTE | |
376 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
377 (#xCF #xEF) ;; I WITH DIAERESIS | |
378 (#xD1 #xF1) ;; N WITH TILDE | |
379 (#xD2 #xF2) ;; O WITH GRAVE | |
380 (#xD3 #xF3) ;; O WITH ACUTE | |
381 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
382 (#xD5 #xF5) ;; G WITH DOT ABOVE | |
383 (#xD6 #xF6) ;; O WITH DIAERESIS | |
384 (#xD8 #xF8) ;; G WITH CIRCUMFLEX | |
385 (#xD9 #xF9) ;; U WITH GRAVE | |
386 (#xDA #xFA) ;; U WITH ACUTE | |
387 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
388 (#xDC #xFC) ;; U WITH DIAERESIS | |
389 (#xDD #xFD) ;; U WITH BREVE | |
390 (#xDE #xFE))) ;; S WITH CIRCUMFLEX | |
464 | 391 |
4299 | 392 (make-8-bit-coding-system |
393 'iso-8859-3 | |
394 '((#xA1 ?\u0126) ;; LATIN CAPITAL LETTER H WITH STROKE | |
395 (#xA2 ?\u02D8) ;; BREVE | |
396 (#xA6 ?\u0124) ;; LATIN CAPITAL LETTER H WITH CIRCUMFLEX | |
397 (#xA9 ?\u0130) ;; LATIN CAPITAL LETTER I WITH DOT ABOVE | |
398 (#xAA ?\u015E) ;; LATIN CAPITAL LETTER S WITH CEDILLA | |
399 (#xAB ?\u011E) ;; LATIN CAPITAL LETTER G WITH BREVE | |
400 (#xAC ?\u0134) ;; LATIN CAPITAL LETTER J WITH CIRCUMFLEX | |
401 (#xAF ?\u017B) ;; LATIN CAPITAL LETTER Z WITH DOT ABOVE | |
402 (#xB1 ?\u0127) ;; LATIN SMALL LETTER H WITH STROKE | |
403 (#xB6 ?\u0125) ;; LATIN SMALL LETTER H WITH CIRCUMFLEX | |
404 (#xB9 ?\u0131) ;; LATIN SMALL LETTER DOTLESS I | |
405 (#xBA ?\u015F) ;; LATIN SMALL LETTER S WITH CEDILLA | |
406 (#xBB ?\u011F) ;; LATIN SMALL LETTER G WITH BREVE | |
407 (#xBC ?\u0135) ;; LATIN SMALL LETTER J WITH CIRCUMFLEX | |
408 (#xBF ?\u017C) ;; LATIN SMALL LETTER Z WITH DOT ABOVE | |
409 (#xC5 ?\u010A) ;; LATIN CAPITAL LETTER C WITH DOT ABOVE | |
410 (#xC6 ?\u0108) ;; LATIN CAPITAL LETTER C WITH CIRCUMFLEX | |
411 (#xD5 ?\u0120) ;; LATIN CAPITAL LETTER G WITH DOT ABOVE | |
412 (#xD8 ?\u011C) ;; LATIN CAPITAL LETTER G WITH CIRCUMFLEX | |
413 (#xDD ?\u016C) ;; LATIN CAPITAL LETTER U WITH BREVE | |
414 (#xDE ?\u015C) ;; LATIN CAPITAL LETTER S WITH CIRCUMFLEX | |
415 (#xE5 ?\u010B) ;; LATIN SMALL LETTER C WITH DOT ABOVE | |
416 (#xE6 ?\u0109) ;; LATIN SMALL LETTER C WITH CIRCUMFLEX | |
417 (#xF5 ?\u0121) ;; LATIN SMALL LETTER G WITH DOT ABOVE | |
418 (#xF8 ?\u011D) ;; LATIN SMALL LETTER G WITH CIRCUMFLEX | |
419 (#xFD ?\u016D) ;; LATIN SMALL LETTER U WITH BREVE | |
420 (#xFE ?\u015D) ;; LATIN SMALL LETTER S WITH CIRCUMFLEX | |
421 (#xFF ?\u02D9)) ;; DOT ABOVE | |
422 "ISO-8859-3 (Latin-3)" | |
423 '(mnemonic "Latin 3" | |
424 documentation "Aimed at Turkish, Maltese and Esperanto. " | |
425 aliases (iso-latin-3 latin-3))) | |
3767 | 426 |
427 | |
428 ;; Latin-4 (ISO-8859-4) | |
429 | |
430 ;; Estonian, Latvian, Lithuanian, Greenlandic, and Sami. Obsolescent. | |
464 | 431 |
3767 | 432 ;; The default character syntax is now word. Pay attention to the |
433 ;; exceptions in ISO-8859-4, copying them from ISO-8859-1. | |
434 (loop | |
435 for (latin-4 latin-1) | |
436 in '((#xA0 #xA0) ;; NO BREAK SPACE | |
437 (#xA4 #xA4) ;; CURRENCY SIGN | |
438 (#xA7 #xA7) ;; SECTION SIGN | |
439 (#xA8 #xA8) ;; DIAERESIS | |
440 (#xAD #xAD) ;; SOFT HYPHEN | |
441 (#xB0 #xB0) ;; DEGREE SIGN | |
442 (#xB2 #xB4) ;; OGONEK, ACUTE ACCENT | |
443 (#xB4 #xB4) ;; ACUTE ACCENT | |
444 (#xB7 #xB4) ;; CARON, ACUTE ACCENT | |
445 (#xB8 #xB8) ;; CEDILLA | |
446 (#xD7 #xD7) ;; MULTIPLICATION SIGN | |
447 (#xF7 #xF7) ;; DIVISION SIGN | |
448 (#xFF #xB4)) ;; DOT ABOVE, ACUTE ACCENT | |
449 with syntax-table = (standard-syntax-table) | |
450 do (modify-syntax-entry | |
451 (make-char 'latin-iso8859-4 latin-4) | |
452 (string (char-syntax (make-char 'latin-iso8859-1 latin-1))) | |
453 syntax-table)) | |
454 | |
455 ;; Case. | |
464 | 456 (setup-case-pairs |
457 'latin-iso8859-4 | |
3767 | 458 '((#xA1 #xB1) ;; A WITH OGONEK |
459 (#xA3 #xB3) ;; R WITH CEDILLA | |
460 (#xA5 #xB5) ;; I WITH TILDE | |
461 (#xA6 #xB6) ;; L WITH CEDILLA | |
462 (#xA9 #xB9) ;; S WITH CARON | |
463 (#xAA #xBA) ;; E WITH MACRON | |
464 (#xAB #xBB) ;; G WITH CEDILLA | |
465 (#xAC #xBC) ;; T WITH STROKE | |
466 (#xAE #xBE) ;; Z WITH CARON | |
467 (#xBD #xBF) ;; ENG | |
468 (#xC0 #xE0) ;; A WITH MACRON | |
469 (#xC1 #xE1) ;; A WITH ACUTE | |
470 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
471 (#xC3 #xE3) ;; A WITH TILDE | |
472 (#xC4 #xE4) ;; A WITH DIAERESIS | |
473 (#xC5 #xE5) ;; A WITH RING ABOVE | |
474 (#xC6 #xE6) ;; AE | |
475 (#xC7 #xE7) ;; I WITH OGONEK | |
476 (#xC8 #xE8) ;; C WITH CARON | |
477 (#xC9 #xE9) ;; E WITH ACUTE | |
478 (#xCA #xEA) ;; E WITH OGONEK | |
479 (#xCB #xEB) ;; E WITH DIAERESIS | |
480 (#xCC #xEC) ;; E WITH DOT ABOVE | |
481 (#xCD #xED) ;; I WITH ACUTE | |
482 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
483 (#xCF #xEF) ;; I WITH MACRON | |
484 (#xD0 #xF0) ;; D WITH STROKE | |
485 (#xD1 #xF1) ;; N WITH CEDILLA | |
486 (#xD2 #xF2) ;; O WITH MACRON | |
487 (#xD3 #xF3) ;; K WITH CEDILLA | |
488 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
489 (#xD5 #xF5) ;; O WITH TILDE | |
490 (#xD6 #xF6) ;; O WITH DIAERESIS | |
491 (#xD8 #xF8) ;; O WITH STROKE | |
492 (#xD9 #xF9) ;; U WITH OGONEK | |
493 (#xDA #xFA) ;; U WITH ACUTE | |
494 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
495 (#xDC #xFC) ;; U WITH DIAERESIS | |
496 (#xDD #xFD) ;; U WITH TILDE | |
497 (#xDE #xFE))) ;; U WITH MACRON | |
498 | |
4299 | 499 (make-8-bit-coding-system |
500 'iso-8859-4 | |
501 '((#xA1 ?\u0104) ;; LATIN CAPITAL LETTER A WITH OGONEK | |
502 (#xA2 ?\u0138) ;; LATIN SMALL LETTER KRA | |
503 (#xA3 ?\u0156) ;; LATIN CAPITAL LETTER R WITH CEDILLA | |
504 (#xA5 ?\u0128) ;; LATIN CAPITAL LETTER I WITH TILDE | |
505 (#xA6 ?\u013B) ;; LATIN CAPITAL LETTER L WITH CEDILLA | |
506 (#xA9 ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON | |
507 (#xAA ?\u0112) ;; LATIN CAPITAL LETTER E WITH MACRON | |
508 (#xAB ?\u0122) ;; LATIN CAPITAL LETTER G WITH CEDILLA | |
509 (#xAC ?\u0166) ;; LATIN CAPITAL LETTER T WITH STROKE | |
510 (#xAE ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON | |
511 (#xB1 ?\u0105) ;; LATIN SMALL LETTER A WITH OGONEK | |
512 (#xB2 ?\u02DB) ;; OGONEK | |
513 (#xB3 ?\u0157) ;; LATIN SMALL LETTER R WITH CEDILLA | |
514 (#xB5 ?\u0129) ;; LATIN SMALL LETTER I WITH TILDE | |
515 (#xB6 ?\u013C) ;; LATIN SMALL LETTER L WITH CEDILLA | |
516 (#xB7 ?\u02C7) ;; CARON | |
517 (#xB9 ?\u0161) ;; LATIN SMALL LETTER S WITH CARON | |
518 (#xBA ?\u0113) ;; LATIN SMALL LETTER E WITH MACRON | |
519 (#xBB ?\u0123) ;; LATIN SMALL LETTER G WITH CEDILLA | |
520 (#xBC ?\u0167) ;; LATIN SMALL LETTER T WITH STROKE | |
521 (#xBD ?\u014A) ;; LATIN CAPITAL LETTER ENG | |
522 (#xBE ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON | |
523 (#xBF ?\u014B) ;; LATIN SMALL LETTER ENG | |
524 (#xC0 ?\u0100) ;; LATIN CAPITAL LETTER A WITH MACRON | |
525 (#xC7 ?\u012E) ;; LATIN CAPITAL LETTER I WITH OGONEK | |
526 (#xC8 ?\u010C) ;; LATIN CAPITAL LETTER C WITH CARON | |
527 (#xCA ?\u0118) ;; LATIN CAPITAL LETTER E WITH OGONEK | |
528 (#xCC ?\u0116) ;; LATIN CAPITAL LETTER E WITH DOT ABOVE | |
529 (#xCF ?\u012A) ;; LATIN CAPITAL LETTER I WITH MACRON | |
530 (#xD0 ?\u0110) ;; LATIN CAPITAL LETTER D WITH STROKE | |
531 (#xD1 ?\u0145) ;; LATIN CAPITAL LETTER N WITH CEDILLA | |
532 (#xD2 ?\u014C) ;; LATIN CAPITAL LETTER O WITH MACRON | |
533 (#xD3 ?\u0136) ;; LATIN CAPITAL LETTER K WITH CEDILLA | |
534 (#xD9 ?\u0172) ;; LATIN CAPITAL LETTER U WITH OGONEK | |
535 (#xDD ?\u0168) ;; LATIN CAPITAL LETTER U WITH TILDE | |
536 (#xDE ?\u016A) ;; LATIN CAPITAL LETTER U WITH MACRON | |
537 (#xE0 ?\u0101) ;; LATIN SMALL LETTER A WITH MACRON | |
538 (#xE7 ?\u012F) ;; LATIN SMALL LETTER I WITH OGONEK | |
539 (#xE8 ?\u010D) ;; LATIN SMALL LETTER C WITH CARON | |
540 (#xEA ?\u0119) ;; LATIN SMALL LETTER E WITH OGONEK | |
541 (#xEC ?\u0117) ;; LATIN SMALL LETTER E WITH DOT ABOVE | |
542 (#xEF ?\u012B) ;; LATIN SMALL LETTER I WITH MACRON | |
543 (#xF0 ?\u0111) ;; LATIN SMALL LETTER D WITH STROKE | |
544 (#xF1 ?\u0146) ;; LATIN SMALL LETTER N WITH CEDILLA | |
545 (#xF2 ?\u014D) ;; LATIN SMALL LETTER O WITH MACRON | |
546 (#xF3 ?\u0137) ;; LATIN SMALL LETTER K WITH CEDILLA | |
547 (#xF9 ?\u0173) ;; LATIN SMALL LETTER U WITH OGONEK | |
548 (#xFD ?\u0169) ;; LATIN SMALL LETTER U WITH TILDE | |
549 (#xFE ?\u016B) ;; LATIN SMALL LETTER U WITH MACRON | |
550 (#xFF ?\u02D9));; DOT ABOVE | |
551 "ISO-8859-4 (Latin-4)" | |
552 '(mnemonic "Latin 4" | |
553 aliases (iso-latin-4 latin-4) | |
554 documentation "Obsolete coding system for the Baltic rim. ")) | |
3767 | 555 |
556 | |
557 ;; Latin-8 (ISO 8859-14) Celtic. | |
558 | |
559 ;; Never widely used. Current-orthography Gaelic, both Irish and Scots, is | |
560 ;; easily written with Latin-1. Wikipedia says the same about Welsh. | |
561 | |
562 (make-charset 'latin-iso8859-14 | |
563 "Right-Hand Part of Latin Alphabet 8 (ISO/IEC 8859-14)" | |
564 '(dimension 1 | |
565 registries ["ISO8859-14"] | |
566 chars 96 | |
567 columns 1 | |
568 direction l2r | |
569 final ?_ | |
570 graphic 1 | |
571 short-name "RHP of Latin-8" | |
572 long-name "RHP of Latin-8 (ISO 8859-14)")) | |
464 | 573 |
3767 | 574 ;; |
575 ;; Character syntax defaults to word. The exceptions here shared with Latin-1. | |
576 (dolist (code '(#xa0 ;; NO BREAK SPACE | |
577 #xa3 ;; POUND SIGN | |
578 #xa7 ;; SECTION SIGN | |
579 #xa9 ;; COPYRIGHT | |
580 #xad ;; SOFT HYPHEN | |
581 #xae ;; REGISTERED | |
582 #xb6)) ;; PILCROW SIGN | |
583 (modify-syntax-entry (make-char 'latin-iso8859-14 code) | |
584 (string (char-syntax (make-char 'latin-iso8859-1 code))) | |
585 (standard-syntax-table))) | |
586 ;; Case. | |
587 (setup-case-pairs | |
588 'latin-iso8859-14 | |
589 '((#xA1 #xA2) ;; B WITH DOT ABOVE | |
590 (#xA4 #xA5) ;; C WITH DOT ABOVE | |
591 (#xA6 #xAB) ;; D WITH DOT ABOVE | |
592 (#xA8 #xB8) ;; W WITH GRAVE | |
593 (#xAA #xBA) ;; W WITH ACUTE | |
594 (#xAC #xBC) ;; Y WITH GRAVE | |
595 (#xAF #xFF) ;; Y WITH DIAERESIS | |
596 (#xB0 #xB1) ;; F WITH DOT ABOVE | |
597 (#xB2 #xB3) ;; G WITH DOT ABOVE | |
598 (#xB4 #xB5) ;; M WITH DOT ABOVE | |
599 (#xB7 #xB9) ;; P WITH DOT ABOVE | |
600 (#xBB #xBF) ;; S WITH DOT ABOVE | |
601 (#xBD #xBE) ;; W WITH DIAERESIS | |
602 (#xC0 #xE0) ;; A WITH GRAVE | |
603 (#xC1 #xE1) ;; A WITH ACUTE | |
604 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
605 (#xC3 #xE3) ;; A WITH TILDE | |
606 (#xC4 #xE4) ;; A WITH DIAERESIS | |
607 (#xC5 #xE5) ;; A WITH RING ABOVE | |
608 (#xC6 #xE6) ;; AE | |
609 (#xC7 #xE7) ;; C WITH CEDILLA | |
610 (#xC8 #xE8) ;; E WITH GRAVE | |
611 (#xC9 #xE9) ;; E WITH ACUTE | |
612 (#xCA #xEA) ;; E WITH CIRCUMFLEX | |
613 (#xCB #xEB) ;; E WITH DIAERESIS | |
614 (#xCC #xEC) ;; I WITH GRAVE | |
615 (#xCD #xED) ;; I WITH ACUTE | |
616 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
617 (#xCF #xEF) ;; I WITH DIAERESIS | |
618 (#xD0 #xF0) ;; W WITH CIRCUMFLEX | |
619 (#xD1 #xF1) ;; N WITH TILDE | |
620 (#xD2 #xF2) ;; O WITH GRAVE | |
621 (#xD3 #xF3) ;; O WITH ACUTE | |
622 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
623 (#xD5 #xF5) ;; O WITH TILDE | |
624 (#xD6 #xF6) ;; O WITH DIAERESIS | |
625 (#xD7 #xF7) ;; T WITH DOT ABOVE | |
626 (#xD8 #xF8) ;; O WITH STROKE | |
627 (#xD9 #xF9) ;; U WITH GRAVE | |
628 (#xDA #xFA) ;; U WITH ACUTE | |
629 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
630 (#xDC #xFC) ;; U WITH DIAERESIS | |
631 (#xDD #xFD) ;; Y WITH ACUTE | |
632 (#xDE #xFE))) ;; Y WITH CIRCUMFLEX | |
464 | 633 |
3767 | 634 |
635 ;; The syntax table code for ISO 8859-15 and ISO 8859-16 requires that the | |
636 ;; guillemets not have parenthesis syntax, which they used to have in the | |
637 ;; past. See syntax.c:complex_vars_of_syntax. | |
638 (assert (not (memq (char-syntax (make-char 'latin-iso8859-1 #xAB)) '(?\( ?\)))) | |
639 t "This code assumes \xAB does not have parenthesis syntax. ") | |
640 | |
641 (assert (not (memq (char-syntax (make-char 'latin-iso8859-1 #xBB)) '(?\( ?\)))) | |
642 t "This code assumes \xBB does not have parenthesis syntax. ") | |
643 | |
644 | |
645 ;; Latin-9 (ISO-8859-15) | |
646 ;; | |
647 ;; Latin-1 plus Euro, plus a few accented characters for the sake of correct | |
648 ;; Finnish and French orthography. Only ever widely used on Unix. | |
2765 | 649 |
3767 | 650 ;; |
651 ;; Based on Latin-1 and differences therefrom. | |
652 ;; | |
653 ;; First, initialise the syntax from the corresponding Latin-1 characters. | |
654 (loop | |
655 for c from #xa0 to #xff | |
656 with syntax-table = (standard-syntax-table) | |
657 do (modify-syntax-entry | |
658 (make-char 'latin-iso8859-15 c) | |
659 (string (char-syntax (make-char 'latin-iso8859-1 c))) | |
660 syntax-table)) | |
661 | |
662 ;; Now, the exceptions. The Euro sign retains the syntax of CURRENCY SIGN. | |
663 (loop | |
664 for c in '(?,b&(B ?,b((B ?,b4(B ?,b8(B ?,b<(B ?,b=(B ?,b>(B) | |
665 with syntax-table = (standard-syntax-table) | |
666 do (modify-syntax-entry c "w" syntax-table)) | |
667 | |
668 ;; Case. | |
2765 | 669 (setup-case-pairs |
670 'latin-iso8859-15 | |
3767 | 671 '((#xA6 #xA8) ;; S WITH CARON * |
672 (#xB4 #xB8) ;; Z WITH CARON * | |
673 (#xBC #xBD) ;; LATIN LIGATURE OE * | |
674 (#xBE #xFF) ;; Y WITH DIAERESIS * | |
675 (#xC0 #xE0) ;; A WITH GRAVE | |
676 (#xC1 #xE1) ;; A WITH ACUTE | |
677 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
678 (#xC3 #xE3) ;; A WITH TILDE | |
679 (#xC4 #xE4) ;; A WITH DIAERESIS | |
680 (#xC5 #xE5) ;; A WITH RING ABOVE | |
681 (#xC6 #xE6) ;; AE | |
682 (#xC7 #xE7) ;; C WITH CEDILLA | |
683 (#xC8 #xE8) ;; E WITH GRAVE | |
684 (#xC9 #xE9) ;; E WITH ACUTE | |
685 (#xCA #xEA) ;; E WITH CIRCUMFLEX | |
686 (#xCB #xEB) ;; E WITH DIAERESIS | |
687 (#xCC #xEC) ;; I WITH GRAVE | |
688 (#xCD #xED) ;; I WITH ACUTE | |
689 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
690 (#xCF #xEF) ;; I WITH DIAERESIS | |
691 (#xD0 #xF0) ;; ETH | |
692 (#xD1 #xF1) ;; N WITH TILDE | |
693 (#xD2 #xF2) ;; O WITH GRAVE | |
694 (#xD3 #xF3) ;; O WITH ACUTE | |
695 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
696 (#xD5 #xF5) ;; O WITH TILDE | |
697 (#xD6 #xF6) ;; O WITH DIAERESIS | |
698 (#xD8 #xF8) ;; O WITH STROKE | |
699 (#xD9 #xF9) ;; U WITH GRAVE | |
700 (#xDA #xFA) ;; U WITH ACUTE | |
701 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
702 (#xDC #xFC) ;; U WITH DIAERESIS | |
703 (#xDD #xFD) ;; Y WITH ACUTE | |
704 (#xDE #xFE))) ;; THORN | |
705 | |
4299 | 706 (make-8-bit-coding-system |
707 'iso-8859-15 | |
708 '((#xA4 ?\u20AC) ;; EURO SIGN | |
709 (#xA6 ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON | |
710 (#xA8 ?\u0161) ;; LATIN SMALL LETTER S WITH CARON | |
711 (#xB4 ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON | |
712 (#xB8 ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON | |
713 (#xBC ?\u0152) ;; LATIN CAPITAL LIGATURE OE | |
714 (#xBD ?\u0153) ;; LATIN SMALL LIGATURE OE | |
715 (#xBE ?\u0178)) ;; LATIN CAPITAL LETTER Y WITH DIAERESIS | |
716 "ISO 4873 conforming 8-bit code (ASCII + Latin 9; aka Latin-1 with Euro)" | |
717 '(mnemonic "Latin 9" | |
718 aliases (iso-latin-9 latin-9 latin-0))) | |
2765 | 719 |
3767 | 720 ;; end of ISO 8859-15. |
721 | |
722 ;; | |
723 ;; Latin-10 (ISO 8859-16). | |
724 ;; | |
725 ;; "South-Eastern European." Not, to my knowledge, ever widely used. | |
726 | |
727 (make-charset 'latin-iso8859-16 | |
728 "Right-Hand Part of Latin Alphabet 10 (ISO/IEC 8859-16)" | |
729 '(dimension 1 | |
730 registries ["ISO8859-16"] | |
731 chars 96 | |
732 columns 1 | |
733 direction l2r | |
734 final ?f ; octet 06/06; cf ISO-IR 226 | |
735 graphic 1 | |
736 short-name "RHP of Latin-10" | |
737 long-name "RHP of Latin-10 (ISO 8859-16)")) | |
2765 | 738 |
3767 | 739 ;; Copy over the non-word syntax this charset has in common with Latin 1. |
740 (dolist (code '(#xa0 ;; NO BREAK SPACE | |
741 #xa7 ;; SECTION SIGN | |
742 #xa9 ;; COPYRIGHT | |
743 #xab ;; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | |
744 #xad ;; SOFT HYPHEN | |
745 #xb0 ;; DEGREE | |
746 #xb1 ;; PLUS-MINUS SIGN | |
747 #xb6 ;; PILCROW SIGN | |
748 #xb7 ;; MIDDLE DOT | |
749 #xbb)) ;; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | |
750 (modify-syntax-entry (make-char 'latin-iso8859-16 code) | |
751 (string (char-syntax (make-char 'latin-iso8859-1 code))) | |
752 (standard-syntax-table))) | |
753 | |
754 ;; EURO SIGN. Take its syntax from the pound sign. | |
755 (modify-syntax-entry (make-char 'latin-iso8859-16 #xa4) | |
756 (string (char-syntax (make-char 'latin-iso8859-1 #xa3))) | |
757 (standard-syntax-table)) | |
758 | |
759 ;; Take DOUBLE LOW-9 QUOTATION MARK's syntax from that of LEFT-POINTING | |
760 ;; DOUBLE ANGLE QUOTATION MARK. | |
761 (modify-syntax-entry (make-char 'latin-iso8859-16 #xa5) | |
762 (string (char-syntax (make-char 'latin-iso8859-1 #xab))) | |
763 (standard-syntax-table)) | |
764 | |
765 ;; Take RIGHT DOUBLE QUOTATION MARK's syntax from that of RIGHT-POINTING | |
766 ;; DOUBLE ANGLE QUOTATION MARK. | |
767 (modify-syntax-entry (make-char 'latin-iso8859-16 #xb5) | |
768 (string (char-syntax (make-char 'latin-iso8859-1 #xbb))) | |
769 (standard-syntax-table)) | |
770 | |
771 ;; Case. | |
2765 | 772 (setup-case-pairs |
773 'latin-iso8859-16 | |
3767 | 774 '((#xA1 #xA2) ;; A WITH OGONEK |
775 (#xA3 #xB3) ;; L WITH STROKE | |
776 (#xA6 #xA8) ;; S WITH CARON | |
777 (#xAA #xBA) ;; S WITH COMMA BELOW | |
778 (#xAC #xAE) ;; Z WITH ACUTE | |
779 (#xAF #xBF) ;; Z WITH DOT ABOVE | |
780 (#xB2 #xB9) ;; C WITH CARON | |
781 (#xB4 #xB8) ;; Z WITH CARON | |
782 (#xBE #xFF) ;; Y WITH DIAERESIS | |
783 (#xC0 #xE0) ;; A WITH GRAVE | |
784 (#xC1 #xE1) ;; A WITH ACUTE | |
785 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
786 (#xC3 #xE3) ;; A WITH BREVE | |
787 (#xC4 #xE4) ;; A WITH DIAERESIS | |
788 (#xC5 #xE5) ;; C WITH ACUTE | |
789 (#xC6 #xE6) ;; AE | |
790 (#xC7 #xE7) ;; C WITH CEDILLA | |
791 (#xC8 #xE8) ;; E WITH GRAVE | |
792 (#xC9 #xE9) ;; E WITH ACUTE | |
793 (#xCA #xEA) ;; E WITH CIRCUMFLEX | |
794 (#xCB #xEB) ;; E WITH DIAERESIS | |
795 (#xCC #xEC) ;; I WITH GRAVE | |
796 (#xCD #xED) ;; I WITH ACUTE | |
797 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
798 (#xCF #xEF) ;; I WITH DIAERESIS | |
799 (#xD0 #xF0) ;; D WITH STROKE | |
800 (#xD1 #xF1) ;; N WITH ACUTE | |
801 (#xD2 #xF2) ;; O WITH GRAVE | |
802 (#xD3 #xF3) ;; O WITH ACUTE | |
803 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
804 (#xD5 #xF5) ;; O WITH DOUBLE ACUTE | |
805 (#xD6 #xF6) ;; O WITH DIAERESIS | |
806 (#xD7 #xF7) ;; S WITH ACUTE | |
807 (#xD8 #xF8) ;; U WITH DOUBLE ACUTE | |
808 (#xD9 #xF9) ;; U WITH GRAVE | |
809 (#xDA #xFA) ;; U WITH ACUTE | |
810 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
811 (#xDC #xFC) ;; U WITH DIAERESIS | |
812 (#xDD #xFD) ;; E WITH OGONEK | |
813 (#xDE #xFE))) ;; T WITH COMMA BELOW | |
814 | |
815 ;; Add a coding system for ISO 8859-16. | |
4299 | 816 (make-8-bit-coding-system |
817 'iso-8859-16 | |
818 '((#xA1 ?\u0104) ;; LATIN CAPITAL LETTER A WITH OGONEK | |
819 (#xA2 ?\u0105) ;; LATIN SMALL LETTER A WITH OGONEK | |
820 (#xA3 ?\u0141) ;; LATIN CAPITAL LETTER L WITH STROKE | |
821 (#xA4 ?\u20AC) ;; EURO SIGN | |
822 (#xA5 ?\u201E) ;; DOUBLE LOW-9 QUOTATION MARK | |
823 (#xA6 ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON | |
824 (#xA8 ?\u0161) ;; LATIN SMALL LETTER S WITH CARON | |
825 (#xAA ?\u0218) ;; LATIN CAPITAL LETTER S WITH COMMA BELOW | |
826 (#xAC ?\u0179) ;; LATIN CAPITAL LETTER Z WITH ACUTE | |
827 (#xAE ?\u017A) ;; LATIN SMALL LETTER Z WITH ACUTE | |
828 (#xAF ?\u017B) ;; LATIN CAPITAL LETTER Z WITH DOT ABOVE | |
829 (#xB2 ?\u010C) ;; LATIN CAPITAL LETTER C WITH CARON | |
830 (#xB3 ?\u0142) ;; LATIN SMALL LETTER L WITH STROKE | |
831 (#xB4 ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON | |
832 (#xB5 ?\u201D) ;; RIGHT DOUBLE QUOTATION MARK | |
833 (#xB8 ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON | |
834 (#xB9 ?\u010D) ;; LATIN SMALL LETTER C WITH CARON | |
835 (#xBA ?\u0219) ;; LATIN SMALL LETTER S WITH COMMA BELOW | |
836 (#xBC ?\u0152) ;; LATIN CAPITAL LIGATURE OE | |
837 (#xBD ?\u0153) ;; LATIN SMALL LIGATURE OE | |
838 (#xBE ?\u0178) ;; LATIN CAPITAL LETTER Y WITH DIAERESIS | |
839 (#xBF ?\u017C) ;; LATIN SMALL LETTER Z WITH DOT ABOVE | |
840 (#xC3 ?\u0102) ;; LATIN CAPITAL LETTER A WITH BREVE | |
841 (#xC5 ?\u0106) ;; LATIN CAPITAL LETTER C WITH ACUTE | |
842 (#xD0 ?\u0110) ;; LATIN CAPITAL LETTER D WITH STROKE | |
843 (#xD1 ?\u0143) ;; LATIN CAPITAL LETTER N WITH ACUTE | |
844 (#xD5 ?\u0150) ;; LATIN CAPITAL LETTER O WITH DOUBLE ACUTE | |
845 (#xD7 ?\u015A) ;; LATIN CAPITAL LETTER S WITH ACUTE | |
846 (#xD8 ?\u0170) ;; LATIN CAPITAL LETTER U WITH DOUBLE ACUTE | |
847 (#xDD ?\u0118) ;; LATIN CAPITAL LETTER E WITH OGONEK | |
848 (#xDE ?\u021A) ;; LATIN CAPITAL LETTER T WITH COMMA BELOW | |
849 (#xE3 ?\u0103) ;; LATIN SMALL LETTER A WITH BREVE | |
850 (#xE5 ?\u0107) ;; LATIN SMALL LETTER C WITH ACUTE | |
851 (#xF0 ?\u0111) ;; LATIN SMALL LETTER D WITH STROKE | |
852 (#xF1 ?\u0144) ;; LATIN SMALL LETTER N WITH ACUTE | |
853 (#xF5 ?\u0151) ;; LATIN SMALL LETTER O WITH DOUBLE ACUTE | |
854 (#xF7 ?\u015B) ;; LATIN SMALL LETTER S WITH ACUTE | |
855 (#xF8 ?\u0171) ;; LATIN SMALL LETTER U WITH DOUBLE ACUTE | |
856 (#xFD ?\u0119) ;; LATIN SMALL LETTER E WITH OGONEK | |
857 (#xFE ?\u021B)) ;; LATIN SMALL LETTER T WITH COMMA BELOW | |
858 "ISO-8859-16 (Latin-10)" | |
859 '(mnemonic "Latin 10" | |
860 aliases (iso-latin-10))) | |
3767 | 861 |
862 ;; end of ISO 8859-16. | |
863 | |
864 | |
865 (provide 'romanian) | |
866 | |
867 ;; Czech support originally from czech.el | |
868 ;; Author: Milan Zamazal <pdm@zamazal.org> | |
869 ;; Maintainer (FSF): Pavel Jan,Am(Bk <Pavel@Janik.cz> | |
870 ;; Maintainer (for XEmacs): David Sauer <davids@penguin.cz> | |
871 | |
872 (provide 'czech) | |
873 | |
874 ;; Slovak support originally from slovak.el | |
875 ;; Authors: Tibor ,B)(Bimko <tibor.simko@fmph.uniba.sk>, | |
876 ;; Milan Zamazal <pdm@fi.muni.cz> | |
877 ;; Maintainer: Milan Zamazal <pdm@fi.muni.cz> | |
878 | |
879 (provide 'slovenian) | |
880 | |
881 ;; Latin-5 (ISO-8859-9) | |
882 | |
883 ;; Turkish (more generally Turkic.) This is identical to Latin-1, with the | |
884 ;; exception that the Icelandic-specific letters have been replaced by | |
885 ;; Turkish-specific letters. As such, we can simply copy the Latin-1 syntax | |
886 ;; table. | |
887 | |
888 (loop | |
889 for i from #xA0 to #xFF | |
890 with syntax-table = (standard-syntax-table) | |
891 do (modify-syntax-entry | |
892 (make-char 'latin-iso8859-9 i) | |
893 (string (char-syntax (make-char 'latin-iso8859-1 i))) | |
894 syntax-table)) | |
895 | |
4145 | 896 ;; Case. The Turkish case idiosyncracy is handled with its language environment. |
3767 | 897 (setup-case-pairs |
898 'latin-iso8859-9 | |
899 '((#xC0 #xE0) ;; A WITH GRAVE | |
900 (#xC1 #xE1) ;; A WITH ACUTE | |
901 (#xC2 #xE2) ;; A WITH CIRCUMFLEX | |
902 (#xC3 #xE3) ;; A WITH TILDE | |
903 (#xC4 #xE4) ;; A WITH DIAERESIS | |
904 (#xC5 #xE5) ;; A WITH RING ABOVE | |
905 (#xC6 #xE6) ;; AE | |
906 (#xC7 #xE7) ;; C WITH CEDILLA | |
907 (#xC8 #xE8) ;; E WITH GRAVE | |
908 (#xC9 #xE9) ;; E WITH ACUTE | |
909 (#xCB #xEB) ;; E WITH DIAERESIS | |
910 (#xCD #xED) ;; I WITH ACUTE | |
911 (#xCE #xEE) ;; I WITH CIRCUMFLEX | |
912 (#xD0 #xF0) ;; G WITH BREVE | |
913 (#xD1 #xF1) ;; N WITH TILDE | |
914 (#xD2 #xF2) ;; O WITH GRAVE | |
915 (#xD3 #xF3) ;; O WITH ACUTE | |
916 (#xD4 #xF4) ;; O WITH CIRCUMFLEX | |
917 (#xD5 #xF5) ;; O WITH TILDE | |
918 (#xD6 #xF6) ;; O WITH DIAERESIS | |
919 (#xD8 #xF8) ;; O WITH STROKE | |
920 (#xD9 #xF9) ;; U WITH GRAVE | |
921 (#xDA #xFA) ;; U WITH ACUTE | |
922 (#xDB #xFB) ;; U WITH CIRCUMFLEX | |
923 (#xDC #xFC) ;; U WITH DIAERESIS | |
924 (#xDE #xFE))) ;; S WITH CEDILLA | |
925 | |
4145 | 926 ;; LATIN CAPITAL LETTER I WITH DOT ABOVE |
927 (put-case-table 'downcase | |
928 (make-char 'latin-iso8859-9 #xdd) | |
929 ?i (standard-case-table)) | |
930 | |
931 ;; LATIN SMALL LETTER DOTLESS I | |
932 (put-case-table 'upcase | |
933 (make-char 'latin-iso8859-9 #xfd) | |
934 ?I (standard-case-table)) | |
935 | |
4299 | 936 (make-8-bit-coding-system |
937 'iso-8859-9 | |
938 '((#xD0 ?\u011E) ;; LATIN CAPITAL LETTER G WITH BREVE | |
939 (#xDD ?\u0130) ;; LATIN CAPITAL LETTER I WITH DOT ABOVE | |
940 (#xDE ?\u015E) ;; LATIN CAPITAL LETTER S WITH CEDILLA | |
941 (#xF0 ?\u011F) ;; LATIN SMALL LETTER G WITH BREVE | |
942 (#xFD ?\u0131) ;; LATIN SMALL LETTER DOTLESS I | |
943 (#xFE ?\u015F)) ;; LATIN SMALL LETTER S WITH CEDILLA | |
944 "ISO-8859-9 (Latin-5)" | |
945 '(mnemonic "Latin 5" | |
946 aliases (iso-latin-5 latin-5))) | |
3767 | 947 |
948 ;; end of ISO-8859-9 | |
949 | |
950 ;; This is a utility function; we don't want it in the dumped XEmacs. | |
951 | |
952 (fmakunbound 'setup-case-pairs) | |
2765 | 953 |
464 | 954 |
3767 | 955 ;; Language environments. |
956 (loop | |
957 for ((charset codesys default-input nice-charset-1 nice-charset-2 | |
958 ;; supported-langs is a list if the doc string is replaced | |
959 ;; entirely | |
960 supported-langs) | |
961 langenvs) in | |
962 '(((latin-iso8859-1 iso-8859-1 "latin-1-prefix" "Latin-1" "ISO-8859-1" | |
963 " Danish, Dutch, English, Faeroese, Finnish, French, German, Icelandic, | |
964 Irish, Italian, Norwegian, Portuguese, Spanish, and Swedish.") | |
965 (("Danish" "da") | |
966 ("Dutch" "nl" "TUTORIAL.nl") | |
4090 | 967 ("Faeroese" "fo") |
3767 | 968 ("Finnish" "fi") |
969 ("French" "fr" "TUTORIAL.fr" "Bonjour, ,Ag(Ba va?") | |
970 ("German" "de" "TUTORIAL.de" "\ | |
971 German (Deutsch Nord) Guten Tag | |
972 German (Deutsch S,A|(Bd) Gr,A|_(B Gott" | |
973 "german-postfix") | |
974 ("Icelandic" "is") | |
975 ("Irish" "ga") | |
976 ("Italian" "it") | |
977 ("Norwegian" "no" "TUTORIAL.no") | |
978 ("Portuguese" "pt" nil "Bem-vindo! Tudo bem?") | |
979 ("Spanish" "es" "TUTORIAL.es" ",A!(BHola!") | |
980 ("Swedish" "sv" "TUTORIAL.se" "Hej!"))) | |
981 ((latin-iso8859-15 iso-8859-15 "latin-1-prefix" ;; #### FIXME | |
982 "Latin-9" "ISO-8859-15") | |
983 ()) | |
984 ((latin-iso8859-2 iso-8859-2 "latin-2-prefix" "Latin-2" "ISO-8859-2" | |
985 " Albanian, Czech, English, German, Hungarian, Polish, Romanian, | |
986 Serbian, Croatian, Slovak, Slovene, Sorbian (upper and lower), | |
987 and Swedish.") ;; " added because fontification got screwed up, CVS-20061203. | |
4090 | 988 (("Albanian" "sq") |
3767 | 989 ("Croatian" ("hrvatski" "hr") "TUTORIAL.hr") |
990 ("Czech" ("cs" "cz") "TUTORIAL.cs" "P,Bx(Bejeme v,Ba(Bm hezk,B}(B den!" | |
991 "latin-2-postfix") | |
992 ("Hungarian" ("hungarian" "hu")) | |
4240 | 993 ("Polish" ("pl" "po") "TUTORIAL.pl") ;; #### Is "po" actually used? |
3767 | 994 ("Romanian" "ro" "TUTORIAL.ro" "Bun,Bc(B ziua, bine a,B~(Bi venit!" |
995 "latin-2-postfix") | |
996 ("Serbian" "sr") | |
997 ("Slovak" "sk" "TUTORIAL.sk" "Prajeme V,Ba(Bm pr,Bm(Bjemn,B}(B de,Br(B!" | |
998 "latin-2-postfix") | |
999 ("Slovenian" "sl" "TUTORIAL.sl" ",B.(Belimo vam uspe,B9(Ben dan!" | |
1000 "latin-2-postfix") | |
1001 ("Sorbian" nil))) | |
1002 ((latin-iso8859-3 iso-8859-3 "latin-3-prefix" "Latin-3" "ISO-8859-3" | |
1003 " Afrikaans, Catalan, Dutch, English, Esperanto, French, Galician, | |
1004 German, Italian, Maltese, Spanish, and Turkish.") | |
1005 (("Afrikaans" "af") | |
1006 ("Catalan" ("catalan" "ca")) | |
4090 | 1007 ("Esperanto" "eo") |
1008 ("Galician" "gl") | |
1009 ("Maltese" "mt"))) | |
3767 | 1010 ((latin-iso8859-4 iso-8859-4 "latin-4-prefix" "Latin-4" "ISO-8859-4" |
1011 " Danish, English, Estonian, Finnish, German, Greenlandic, Lappish, | |
1012 Latvian, Lithuanian, and Norwegian.") | |
1013 (("Estonian" "et") | |
4090 | 1014 ("Greenlandic" "kl") |
1015 ("Lappish" "se") | |
3767 | 1016 ("Latvian" "lv") |
1017 ("Lithuanian" "li"))) | |
3977 | 1018 ((latin-iso8859-9 iso-8859-9 "latin-5-prefix" "Latin-5" "ISO-8859-9") |
3767 | 1019 (("Turkish" "tr")))) |
1020 do | |
1021 (set-language-info-alist | |
1022 nice-charset-1 | |
1023 `((charset ascii ,charset) | |
1024 (coding-system ,codesys) | |
1025 (coding-priority ,codesys) | |
1026 (native-coding-system ,codesys) | |
1027 (documentation . ,(if (listp supported-langs) (car supported-langs) | |
1028 (format "\ | |
1029 Generic language environment for %s (%s)." nice-charset-1 nice-charset-2)))) | |
1030 '("European")) | |
1031 (loop for (name locale tutorial sample-text input-method) in langenvs | |
1032 do | |
1033 (set-language-info-alist | |
1034 name | |
1035 `((charset ascii ,charset) | |
1036 (coding-system ,codesys) | |
1037 (coding-priority ,codesys) | |
1038 (native-coding-system ,codesys) | |
1039 ,@(if locale `((locale . ,locale))) | |
4240 | 1040 ,@(if tutorial `((tutorial . ,tutorial) |
4325
948c9b232595
Avoid an error when clicking on Help -> Tutorials
Aidan Kehoe <kehoea@parhasard.net>
parents:
4316
diff
changeset
|
1041 (tutorial-coding-system . ,codesys))) |
3767 | 1042 ,@(if sample-text `((sample-text . ,sample-text))) |
1043 (input-method . ,(or input-method default-input)) | |
1044 (documentation . ,(format "\ | |
1045 This language environment supports %s. " name))) | |
1046 '("European")))) | |
464 | 1047 |
4145 | 1048 ;; The case table for Turkish is special: |
1049 ;; #### Maybe we should limit this change to interactive functions; this may | |
1050 ;; well be awkward for protocols and so on. | |
1051 (set-language-info "Turkish" | |
1052 'setup-function | |
1053 (lambda () | |
1054 ;; The lowercase version of I is dotless i | |
1055 (put-case-table-pair ?I | |
1056 (make-char 'latin-iso8859-9 #xfd) | |
1057 (standard-case-table)) | |
1058 ;; The uppercase version of i is I with dot | |
1059 (put-case-table-pair (make-char 'latin-iso8859-9 #xdd) | |
1060 ?i (standard-case-table)))) | |
1061 | |
1062 (set-language-info "Turkish" | |
1063 'exit-function | |
1064 (lambda () | |
1065 ;; Restore the normal case mappings for the characters. | |
1066 (put-case-table-pair ?I ?i (standard-case-table)))) | |
1067 | |
1068 (make-8-bit-coding-system | |
1069 'macintosh | |
1070 '((#x80 ?\u00C4) ;; LATIN CAPITAL LETTER A WITH DIAERESIS | |
1071 (#x81 ?\u00C5) ;; LATIN CAPITAL LETTER A WITH RING ABOVE | |
1072 (#x82 ?\u00C7) ;; LATIN CAPITAL LETTER C WITH CEDILLA | |
1073 (#x83 ?\u00C9) ;; LATIN CAPITAL LETTER E WITH ACUTE | |
1074 (#x84 ?\u00D1) ;; LATIN CAPITAL LETTER N WITH TILDE | |
1075 (#x85 ?\u00D6) ;; LATIN CAPITAL LETTER O WITH DIAERESIS | |
1076 (#x86 ?\u00DC) ;; LATIN CAPITAL LETTER U WITH DIAERESIS | |
1077 (#x87 ?\u00E1) ;; LATIN SMALL LETTER A WITH ACUTE | |
1078 (#x88 ?\u00E0) ;; LATIN SMALL LETTER A WITH GRAVE | |
1079 (#x89 ?\u00E2) ;; LATIN SMALL LETTER A WITH CIRCUMFLEX | |
1080 (#x8A ?\u00E4) ;; LATIN SMALL LETTER A WITH DIAERESIS | |
1081 (#x8B ?\u00E3) ;; LATIN SMALL LETTER A WITH TILDE | |
1082 (#x8C ?\u00E5) ;; LATIN SMALL LETTER A WITH RING ABOVE | |
1083 (#x8D ?\u00E7) ;; LATIN SMALL LETTER C WITH CEDILLA | |
1084 (#x8E ?\u00E9) ;; LATIN SMALL LETTER E WITH ACUTE | |
1085 (#x8F ?\u00E8) ;; LATIN SMALL LETTER E WITH GRAVE | |
1086 (#x90 ?\u00EA) ;; LATIN SMALL LETTER E WITH CIRCUMFLEX | |
1087 (#x91 ?\u00EB) ;; LATIN SMALL LETTER E WITH DIAERESIS | |
1088 (#x92 ?\u00ED) ;; LATIN SMALL LETTER I WITH ACUTE | |
1089 (#x93 ?\u00EC) ;; LATIN SMALL LETTER I WITH GRAVE | |
1090 (#x94 ?\u00EE) ;; LATIN SMALL LETTER I WITH CIRCUMFLEX | |
1091 (#x95 ?\u00EF) ;; LATIN SMALL LETTER I WITH DIAERESIS | |
1092 (#x96 ?\u00F1) ;; LATIN SMALL LETTER N WITH TILDE | |
1093 (#x97 ?\u00F3) ;; LATIN SMALL LETTER O WITH ACUTE | |
1094 (#x98 ?\u00F2) ;; LATIN SMALL LETTER O WITH GRAVE | |
1095 (#x99 ?\u00F4) ;; LATIN SMALL LETTER O WITH CIRCUMFLEX | |
1096 (#x9A ?\u00F6) ;; LATIN SMALL LETTER O WITH DIAERESIS | |
1097 (#x9B ?\u00F5) ;; LATIN SMALL LETTER O WITH TILDE | |
1098 (#x9C ?\u00FA) ;; LATIN SMALL LETTER U WITH ACUTE | |
1099 (#x9D ?\u00F9) ;; LATIN SMALL LETTER U WITH GRAVE | |
1100 (#x9E ?\u00FB) ;; LATIN SMALL LETTER U WITH CIRCUMFLEX | |
1101 (#x9F ?\u00FC) ;; LATIN SMALL LETTER U WITH DIAERESIS | |
1102 (#xA0 ?\u2020) ;; DAGGER | |
1103 (#xA1 ?\u00B0) ;; DEGREE SIGN | |
1104 (#xA2 ?\u00A2) ;; CENT SIGN | |
1105 (#xA3 ?\u00A3) ;; POUND SIGN | |
1106 (#xA4 ?\u00A7) ;; SECTION SIGN | |
1107 (#xA5 ?\u2022) ;; BULLET | |
1108 (#xA6 ?\u00B6) ;; PILCROW SIGN | |
1109 (#xA7 ?\u00DF) ;; LATIN SMALL LETTER SHARP S | |
1110 (#xA8 ?\u00AE) ;; REGISTERED SIGN | |
1111 (#xA9 ?\u00A9) ;; COPYRIGHT SIGN | |
1112 (#xAA ?\u2122) ;; TRADE MARK SIGN | |
1113 (#xAB ?\u00B4) ;; ACUTE ACCENT | |
1114 (#xAC ?\u00A8) ;; DIAERESIS | |
1115 (#xAD ?\u2260) ;; NOT EQUAL TO | |
1116 (#xAE ?\u00C6) ;; LATIN CAPITAL LETTER AE | |
1117 (#xAF ?\u00D8) ;; LATIN CAPITAL LETTER O WITH STROKE | |
1118 (#xB0 ?\u221E) ;; INFINITY | |
1119 (#xB1 ?\u00B1) ;; PLUS-MINUS SIGN | |
1120 (#xB2 ?\u2264) ;; LESS-THAN OR EQUAL TO | |
1121 (#xB3 ?\u2265) ;; GREATER-THAN OR EQUAL TO | |
1122 (#xB4 ?\u00A5) ;; YEN SIGN | |
1123 (#xB5 ?\u00B5) ;; MICRO SIGN | |
1124 (#xB6 ?\u2202) ;; PARTIAL DIFFERENTIAL | |
1125 (#xB7 ?\u2211) ;; N-ARY SUMMATION | |
1126 (#xB8 ?\u220F) ;; N-ARY PRODUCT | |
1127 (#xB9 ?\u03C0) ;; GREEK SMALL LETTER PI | |
1128 (#xBA ?\u222B) ;; INTEGRAL | |
1129 (#xBB ?\u00AA) ;; FEMININE ORDINAL INDICATOR | |
1130 (#xBC ?\u00BA) ;; MASCULINE ORDINAL INDICATOR | |
1131 (#xBD ?\u03A9) ;; GREEK CAPITAL LETTER OMEGA | |
1132 (#xBE ?\u00E6) ;; LATIN SMALL LETTER AE | |
1133 (#xBF ?\u00F8) ;; LATIN SMALL LETTER O WITH STROKE | |
1134 (#xC0 ?\u00BF) ;; INVERTED QUESTION MARK | |
1135 (#xC1 ?\u00A1) ;; INVERTED EXCLAMATION MARK | |
1136 (#xC2 ?\u00AC) ;; NOT SIGN | |
1137 (#xC3 ?\u221A) ;; SQUARE ROOT | |
1138 (#xC4 ?\u0192) ;; LATIN SMALL LETTER F WITH HOOK | |
1139 (#xC5 ?\u2248) ;; ALMOST EQUAL TO | |
1140 (#xC6 ?\u2206) ;; INCREMENT | |
1141 (#xC7 ?\u00AB) ;; LEFT-POINTING DOUBLE ANGLE QUOTATION MARK | |
1142 (#xC8 ?\u00BB) ;; RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK | |
1143 (#xC9 ?\u2026) ;; HORIZONTAL ELLIPSIS | |
1144 (#xCA ?\u00A0) ;; NO-BREAK SPACE | |
1145 (#xCB ?\u00C0) ;; LATIN CAPITAL LETTER A WITH GRAVE | |
1146 (#xCC ?\u00C3) ;; LATIN CAPITAL LETTER A WITH TILDE | |
1147 (#xCD ?\u00D5) ;; LATIN CAPITAL LETTER O WITH TILDE | |
1148 (#xCE ?\u0152) ;; LATIN CAPITAL LIGATURE OE | |
1149 (#xCF ?\u0153) ;; LATIN SMALL LIGATURE OE | |
1150 (#xD0 ?\u2013) ;; EN DASH | |
1151 (#xD1 ?\u2014) ;; EM DASH | |
1152 (#xD2 ?\u201C) ;; LEFT DOUBLE QUOTATION MARK | |
1153 (#xD3 ?\u201D) ;; RIGHT DOUBLE QUOTATION MARK | |
1154 (#xD4 ?\u2018) ;; LEFT SINGLE QUOTATION MARK | |
1155 (#xD5 ?\u2019) ;; RIGHT SINGLE QUOTATION MARK | |
1156 (#xD6 ?\u00F7) ;; DIVISION SIGN | |
1157 (#xD7 ?\u25CA) ;; LOZENGE | |
1158 (#xD8 ?\u00FF) ;; LATIN SMALL LETTER Y WITH DIAERESIS | |
1159 (#xD9 ?\u0178) ;; LATIN CAPITAL LETTER Y WITH DIAERESIS | |
1160 (#xDA ?\u2044) ;; FRACTION SLASH | |
1161 (#xDB ?\u20AC) ;; EURO SIGN | |
1162 (#xDC ?\u2039) ;; SINGLE LEFT-POINTING ANGLE QUOTATION MARK | |
1163 (#xDD ?\u203A) ;; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK | |
1164 (#xDE ?\uFB01) ;; LATIN SMALL LIGATURE FI | |
1165 (#xDF ?\uFB02) ;; LATIN SMALL LIGATURE FL | |
1166 (#xE0 ?\u2021) ;; DOUBLE DAGGER | |
1167 (#xE1 ?\u00B7) ;; MIDDLE DOT | |
1168 (#xE2 ?\u201A) ;; SINGLE LOW-9 QUOTATION MARK | |
1169 (#xE3 ?\u201E) ;; DOUBLE LOW-9 QUOTATION MARK | |
1170 (#xE4 ?\u2030) ;; PER MILLE SIGN | |
1171 (#xE5 ?\u00C2) ;; LATIN CAPITAL LETTER A WITH CIRCUMFLEX | |
1172 (#xE6 ?\u00CA) ;; LATIN CAPITAL LETTER E WITH CIRCUMFLEX | |
1173 (#xE7 ?\u00C1) ;; LATIN CAPITAL LETTER A WITH ACUTE | |
1174 (#xE8 ?\u00CB) ;; LATIN CAPITAL LETTER E WITH DIAERESIS | |
1175 (#xE9 ?\u00C8) ;; LATIN CAPITAL LETTER E WITH GRAVE | |
1176 (#xEA ?\u00CD) ;; LATIN CAPITAL LETTER I WITH ACUTE | |
1177 (#xEB ?\u00CE) ;; LATIN CAPITAL LETTER I WITH CIRCUMFLEX | |
1178 (#xEC ?\u00CF) ;; LATIN CAPITAL LETTER I WITH DIAERESIS | |
1179 (#xED ?\u00CC) ;; LATIN CAPITAL LETTER I WITH GRAVE | |
1180 (#xEE ?\u00D3) ;; LATIN CAPITAL LETTER O WITH ACUTE | |
1181 (#xEF ?\u00D4) ;; LATIN CAPITAL LETTER O WITH CIRCUMFLEX | |
1182 (#xF0 ?\uF8FF) ;; Apple logo | |
1183 (#xF1 ?\u00D2) ;; LATIN CAPITAL LETTER O WITH GRAVE | |
1184 (#xF2 ?\u00DA) ;; LATIN CAPITAL LETTER U WITH ACUTE | |
1185 (#xF3 ?\u00DB) ;; LATIN CAPITAL LETTER U WITH CIRCUMFLEX | |
1186 (#xF4 ?\u00D9) ;; LATIN CAPITAL LETTER U WITH GRAVE | |
1187 (#xF5 ?\u0131) ;; LATIN SMALL LETTER DOTLESS I | |
1188 (#xF6 ?\u02C6) ;; MODIFIER LETTER CIRCUMFLEX ACCENT | |
1189 (#xF7 ?\u02DC) ;; SMALL TILDE | |
1190 (#xF8 ?\u00AF) ;; MACRON | |
1191 (#xF9 ?\u02D8) ;; BREVE | |
1192 (#xFA ?\u02D9) ;; DOT ABOVE | |
1193 (#xFB ?\u02DA) ;; RING ABOVE | |
1194 (#xFC ?\u00B8) ;; CEDILLA | |
1195 (#xFD ?\u02DD) ;; DOUBLE ACUTE ACCENT | |
1196 (#xFE ?\u02DB) ;; OGONEK | |
1197 (#xFF ?\u02C7)) ;; CARON | |
1198 "The Macintosh encoding for Western Europe and the Americas" | |
1199 '(mnemonic "MR" | |
1200 documentation "MacRoman, MIME name macintosh" | |
1201 aliases (cp10000 MacRoman))) | |
1202 | |
1203 (make-8-bit-coding-system | |
1204 'windows-1252 | |
1205 '((#x80 ?\u20AC) ;; EURO SIGN | |
1206 (#x82 ?\u201A) ;; SINGLE LOW-9 QUOTATION MARK | |
1207 (#x83 ?\u0192) ;; LATIN SMALL LETTER F WITH HOOK | |
1208 (#x84 ?\u201E) ;; DOUBLE LOW-9 QUOTATION MARK | |
1209 (#x85 ?\u2026) ;; HORIZONTAL ELLIPSIS | |
1210 (#x86 ?\u2020) ;; DAGGER | |
1211 (#x87 ?\u2021) ;; DOUBLE DAGGER | |
1212 (#x88 ?\u02C6) ;; MODIFIER LETTER CIRCUMFLEX ACCENT | |
1213 (#x89 ?\u2030) ;; PER MILLE SIGN | |
1214 (#x8A ?\u0160) ;; LATIN CAPITAL LETTER S WITH CARON | |
1215 (#x8B ?\u2039) ;; SINGLE LEFT-POINTING ANGLE QUOTATION MARK | |
1216 (#x8C ?\u0152) ;; LATIN CAPITAL LIGATURE OE | |
1217 (#x8E ?\u017D) ;; LATIN CAPITAL LETTER Z WITH CARON | |
1218 (#x91 ?\u2018) ;; LEFT SINGLE QUOTATION MARK | |
1219 (#x92 ?\u2019) ;; RIGHT SINGLE QUOTATION MARK | |
1220 (#x93 ?\u201C) ;; LEFT DOUBLE QUOTATION MARK | |
1221 (#x94 ?\u201D) ;; RIGHT DOUBLE QUOTATION MARK | |
1222 (#x95 ?\u2022) ;; BULLET | |
1223 (#x96 ?\u2013) ;; EN DASH | |
1224 (#x97 ?\u2014) ;; EM DASH | |
1225 (#x98 ?\u02DC) ;; SMALL TILDE | |
1226 (#x99 ?\u2122) ;; TRADE MARK SIGN | |
1227 (#x9A ?\u0161) ;; LATIN SMALL LETTER S WITH CARON | |
1228 (#x9B ?\u203A) ;; SINGLE RIGHT-POINTING ANGLE QUOTATION MARK | |
1229 (#x9C ?\u0153) ;; LATIN SMALL LIGATURE OE | |
1230 (#x9E ?\u017E) ;; LATIN SMALL LETTER Z WITH CARON | |
1231 (#x9F ?\u0178));; LATIN CAPITAL LETTER Y WITH DIAERESIS | |
1232 "Microsoft's extension of iso-8859-1 for Western Europe and the Americas. " | |
1233 '(mnemonic "cp1252" | |
1234 aliases (cp1252))) | |
1235 | |
4316
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1236 ;; Provide language environments that prefer specific coding systems. |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1237 (loop |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1238 for coding-system in '(utf-8 windows-1252 macintosh) |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1239 with name = nil |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1240 with assocked = nil |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1241 do |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1242 (setq name (create-variant-language-environment "English" coding-system) |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1243 assocked (assoc name language-info-alist)) |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1244 (setcar assocked |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1245 (upcase (symbol-name coding-system))) |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1246 (setcdr assocked |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1247 (remassq 'locale (cdr assocked)))) |
2e528ccfe690
Create "UTF-8" and "WINDOWS-1252" language environments.
Aidan Kehoe <kehoea@parhasard.net>
parents:
4299
diff
changeset
|
1248 |
3767 | 1249 ;;; latin.el ends here |