aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2000-03-22 23:01:04 +0000
committerJason Rumney2000-03-22 23:01:04 +0000
commit52f326714d031845fedc6a9b5448228307e0f9c8 (patch)
treeb13b6332c4572da67dee5f91d190279a855d3c09
parent126f2e359281ade902fea8efa1615ab7b2a34383 (diff)
downloademacs-52f326714d031845fedc6a9b5448228307e0f9c8.tar.gz
emacs-52f326714d031845fedc6a9b5448228307e0f9c8.zip
(w32-charset-info-alist): Initialize.
-rw-r--r--lisp/w32-fns.el36
1 files changed, 36 insertions, 0 deletions
diff --git a/lisp/w32-fns.el b/lisp/w32-fns.el
index bcfa817eb48..c9f1a53c771 100644
--- a/lisp/w32-fns.el
+++ b/lisp/w32-fns.el
@@ -345,4 +345,40 @@ CODING-SYSTEM, use \\[list-coding-systems]."
345 ("black" 0 0 0 0)) 345 ("black" 0 0 0 0))
346"A list of VGA console colors, their indices and 16-bit RGB values.") 346"A list of VGA console colors, their indices and 16-bit RGB values.")
347 347
348;; w32term.c sets this to nil, but if it has been overridden before we
349;; get here, we should not try to set it again.
350(if (not w32-charset-info-alist)
351 (progn (setq w32-charset-info-alist
352 '(("iso8859-1" . (w32-charset-ansi . 1252))
353 ("jisx0208-sjis" . (w32-charset-shiftjis . 932))
354 ("jisx0201-latin" . (w32-charset-shiftjis . 932))
355 ("jisx0201-katakana" . (w32-charset-shiftjis . 932))
356 ("ksc5601.1987" . (w32-charset-hangul . 949))
357 ("big5" . (w32-charset-chinesebig5 . 950))
358 ("gb2312" . (w32-charset-gb2312 . 936))
359 ("ms-symbol" . (w32-charset-symbol . nil))
360 ("ms-oem" . (w32-charset-oem . 437))
361 ("ms-oemlatin" . (w32-charset-oem . 850))))
362 (if (boundp 'w32-extra_charsets-defined)
363 (add-to-list
364 'w32-charset-info-alist
365 '(("iso8859-2" . (w32-charset-easteurope . 28592))
366 ("iso8859-3" . (w32-charset-turkish . 28593))
367 ("iso8859-4" . (w32-charset-baltic . 28594))
368 ("iso8859-5" . (w32-charset-russian . 28595))
369 ("iso8859-6" . (w32-charset-arabic . 28596))
370 ("iso8859-7" . (w32-charset-greek . 28597))
371 ("iso8859-8" . (w32-charset-hebrew . 1255))
372 ("iso8859-9" . (w32-charset-turkish . 1254))
373 ("iso8859-13" . (w32-charset-baltic . 1257))
374 ("koi8-r" . (w32-charset-russian . 20866))
375 ("tis620" . (w32-charset-thai . 874))
376 ("ksc5601.1992" . (w32-charset-johab . 1361))
377 ("mac" . (w32-charset-mac . nil)))))
378 (if (boundp 'w32-unicode-charset-defined)
379 (add-to-list
380 'w32-charset-info-alist
381 '(("iso10646" . (w32-charset-unicode . t))
382 ("unicode" . (w32-charset-unicode . t)))))))
383
348;;; w32-fns.el ends here 384;;; w32-fns.el ends here