annotate lisp/mule/mule-win32-init.el @ 3174:588878f5a654

[xemacs-hg @ 2005-12-24 22:31:47 by aidan] Revert a couple of changes from those last commits.
author aidan
date Sat, 24 Dec 2005 22:31:53 +0000
parents 70921960b980
children edb00a8b4eff
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1315
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
1 ;;; mule-win32-init.el --- initialization code for MS Windows/Cygwin under MULE
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
2 ;;; Copyright (C) 2001, 2002 Ben Wing.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
3
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
4 ;; This file is part of XEmacs.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
5
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
6 ;; XEmacs is free software; you can redistribute it and/or modify it
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
7 ;; under the terms of the GNU General Public License as published by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
8 ;; the Free Software Foundation; either version 2, or (at your option)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
9 ;; any later version.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
10
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
11 ;; XEmacs is distributed in the hope that it will be useful, but
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
12 ;; WITHOUT ANY WARRANTY; without even the implied warranty of
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
13 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
14 ;; General Public License for more details.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
15
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
16 ;; You should have received a copy of the GNU General Public License
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
17 ;; along with XEmacs; see the file COPYING. If not, write to the
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
18 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
19 ;; Boston, MA 02111-1307, USA.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
20
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
21 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
22 'mswindows-multibyte 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
23 "MS Windows Multibyte (current code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
24 '(mnemonic "MSW-MB"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
25 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
26 "MS Windows multibyte -- current code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
27
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
28 This implements the encoding specified by the current code page --
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
29 i.e. the ANSI code page corresponding to the current locale, as
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
30 returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
31
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
32 (mswindows-locale-code-page (mswindows-current-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
33 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
34 locale current
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
35 code-page ansi))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
36
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
37 ;; we temporarily aliased this to raw-text in intl-win32.c.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
38 (define-coding-system-alias 'mswindows-multibyte-system-default nil)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
39 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
40 'mswindows-multibyte-system-default 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
41 "MS Windows Multibyte (system default code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
42 '(mnemonic "MSW-MB-SysDef"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
43 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
44 "MS Windows multibyte -- system default code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
45
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
46 This implements the encoding specified by the system default code page
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
47 -- i.e. the ANSI code page corresponding to the system default locale,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
48 as returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
49
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
50 (mswindows-locale-code-page (mswindows-system-default-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
51 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
52 locale system-default
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
53 code-page ansi))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
54
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
55 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
56 'mswindows-multibyte-user-default 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
57 "MS Windows Multibyte (user default code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
58 '(mnemonic "MSW-MB-UserDef"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
59 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
60 "MS Windows multibyte -- user default code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
61
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
62 This implements the encoding specified by the user default code page
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
63 -- i.e. the ANSI code page corresponding to the user default locale,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
64 as returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
65
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
66 (mswindows-locale-code-page (mswindows-user-default-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
67 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
68 locale user-default
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
69 code-page ansi))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
70
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
71 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
72 'mswindows-multibyte-oem 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
73 "MS Windows Multibyte (current OEM code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
74 '(mnemonic "MSW-MB-OEM"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
75 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
76 "MS Windows multibyte -- current OEM code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
77
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
78 This implements the encoding specified by the current OEM code page
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
79 -- i.e. the OEM code page corresponding to the current locale,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
80 as returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
81
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
82 (mswindows-locale-oem-code-page (mswindows-current-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
83 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
84 locale current
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
85 code-page oem))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
86
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
87 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
88 'mswindows-multibyte-oem-system-default 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
89 "MS Windows Multibyte (system default OEM code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
90 '(mnemonic "MSW-MB-OEM-SysDef"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
91 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
92 "MS Windows multibyte -- system default OEM code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
93
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
94 This implements the encoding specified by the system default OEM code page
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
95 -- i.e. the OEM code page corresponding to the system default locale,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
96 as returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
97
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
98 (mswindows-locale-oem-code-page (mswindows-system-default-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
99 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
100 locale system-default
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
101 code-page oem))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
102
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
103 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
104 'mswindows-multibyte-oem-user-default 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
105 "MS Windows Multibyte (user default OEM code page)"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
106 '(mnemonic "MSW-MB-OEM-UserDef"
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
107 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
108 "MS Windows multibyte -- user default OEM code page.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
109
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
110 This implements the encoding specified by the user default OEM code page
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
111 -- i.e. the OEM code page corresponding to the user default locale,
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
112 as returned by
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
113
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
114 (mswindows-locale-oem-code-page (mswindows-user-default-locale))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
115 "
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
116 locale user-default
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
117 code-page oem))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
118
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
119 (let ((cplist
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
120 '(("EBCDIC" 037 "EBCDIC")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
121 ("OEM" 437 "MS-DOS United States")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
122 ("EBCDIC" 500 "EBCDIC \"500V1\"")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
123 ("OEM" 708 "Arabic (ASMO 708)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
124 ("OEM" 709 "Arabic (ASMO 449+, BCON V4)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
125 ("OEM" 710 "Arabic (Transparent Arabic)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
126 ("OEM" 720 "Arabic (Transparent ASMO)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
127 ("OEM" 737 "Greek (formerly 437G)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
128 ("OEM" 775 "Baltic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
129 ("OEM" 850 "MS-DOS Multilingual (Latin I)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
130 ("OEM" 852 "MS-DOS Slavic (Latin II)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
131 ("OEM" 855 "IBM Cyrillic (primarily Russian)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
132 ("OEM" 857 "IBM Turkish")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
133 ("OEM" 860 "MS-DOS Portuguese")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
134 ("OEM" 861 "MS-DOS Icelandic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
135 ("OEM" 862 "Hebrew")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
136 ("OEM" 863 "MS-DOS Canadian-French")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
137 ("OEM" 864 "Arabic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
138 ("OEM" 865 "MS-DOS Nordic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
139 ("OEM" 866 "MS-DOS Russian")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
140 ("OEM" 869 "IBM Modern Greek")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
141 ("Ansi/OEM" 874 "Thai")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
142 ("EBCDIC" 875 "EBCDIC")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
143 ("Ansi/OEM" 932 "Japanese")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
144 ("Ansi/OEM" 936 "Chinese (PRC, Singapore)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
145 ("Ansi/OEM" 949 "Korean")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
146 ("Ansi/OEM" 950 "Chinese (Taiwan; Hong Kong SAR, PRC)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
147 ("EBCDIC" 1026 "EBCDIC")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
148 ("ANSI" 1200 "Unicode (BMP of ISO 10646)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
149 ("ANSI" 1250 "Windows 3.1 Eastern European")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
150 ("ANSI" 1251 "Windows 3.1 Cyrillic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
151 ("ANSI" 1252 "Windows 3.1 US (ANSI)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
152 ("ANSI" 1253 "Windows 3.1 Greek")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
153 ("ANSI" 1254 "Windows 3.1 Turkish")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
154 ("ANSI" 1255 "Hebrew")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
155 ("ANSI" 1256 "Arabic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
156 ("ANSI" 1257 "Baltic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
157 ("ANSI" 1258 "VietNam")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
158 ("Ansi/OEM" 1361 "Korean (Johab)")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
159 ("Mac" 10000 "Macintosh Roman")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
160 ("Mac" 10001 "Macintosh Japanese")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
161 ("Mac" 10006 "Macintosh Greek I")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
162 ("Mac" 10007 "Macintosh Cyrillic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
163 ("Mac" 10029 "Macintosh Latin 2")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
164 ("Mac" 10079 "Macintosh Icelandic")
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
165 ("Mac" 10081 "Macintosh Turkish"))))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
166 (dolist (cpprops cplist)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
167 (let ((ansioem (first cpprops))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
168 (cp (second cpprops))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
169 (name (third cpprops)))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
170 (make-coding-system
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
171 (intern (format "windows-%s" cp))
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
172 'mswindows-multibyte
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
173 (format "MS Windows code page %s (%s, %s)" cp ansioem name)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
174 `(mnemonic
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
175 ,(format "MSW-%s" cp)
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
176 code-page ,cp
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
177 documentation
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
178 ,(format
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
179 "MS Windows Multibyte -- code page %s (%s, %s).
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
180
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
181 This implements the encoding specified by code page %s.
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
182 For more information on code pages, see `mswindows-charset-code-page'."
70921960b980 [xemacs-hg @ 2003-02-20 08:19:28 by ben]
ben
parents:
diff changeset
183 cp ansioem name cp))))))