1 ;;; greek.el --- support for Greek
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2002 Free Software Foundation, Inc.
7 ;; Keywords: multilingual, Greek
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software; you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation; either version 2, or (at your option)
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the
23 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
24 ;; Boston, MA 02111-1307, USA.
28 ;; For Greek, the character set ISO8859-7 is supported.
32 (define-coding-system 'greek-iso-8bit
33 "ISO 2022 based 8-bit encoding for Greek (MIME:ISO-8859-7)."
36 :charset-list '(iso-8859-7)
37 :mime-charset 'iso-8859-7)
39 (define-coding-system-alias 'iso-8859-7 'greek-iso-8bit)
41 (define-coding-system 'windows-1253
42 "windows-1253 encoding for Greek"
45 :charset-list '(windows-1253)
46 :mime-charset 'windows-1253)
47 (define-coding-system-alias 'cp1253 'windows-1253)
49 (define-coding-system 'cp737
50 "Codepage 737 (PC Greek)"
53 :charset-list '(cp737)
56 (define-coding-system 'cp851
57 "DOS codepage 851 (Greek)"
60 :charset-list '(cp851)
62 (define-coding-system-alias 'ibm851 'cp851)
64 (define-coding-system 'cp869
65 "DOS codepage 869 (Greek)"
68 :charset-list '(cp869)
70 (define-coding-system-alias 'ibm869 'cp869)
72 (set-language-info-alist
73 "Greek" '((charset iso-8859-7)
74 (coding-system . (greek-iso-8bit windows-1253 cp851 cp869))
75 (coding-priority greek-iso-8bit)
76 (nonascii-translation . iso-8859-7)
77 (input-method . "greek")
82 ;;; greek.el ends here