1 ;;; hebrew.el --- support for Hebrew -*- coding: iso-2022-7bit; -*-
3 ;; Copyright (C) 1995 Electrotechnical Laboratory, JAPAN.
4 ;; Licensed to the Free Software Foundation.
5 ;; Copyright (C) 2001, 2002 Free Software Foundation, Inc.
7 ;; Keywords: multilingual, Hebrew
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 Hebrew, the character set ISO8859-8 is supported.
29 ;; See http://www.ecma.ch/ecma1/STAND/ECMA-121.HTM.
30 ;; Windows-1255 is also supported.
34 (define-coding-system 'hebrew-iso-8bit
35 "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)."
38 :charset-list
'(iso-8859-8)
39 :mime-charset
'iso-8859-8
)
41 (define-coding-system-alias 'iso-8859-8
'hebrew-iso-8bit
)
43 ;; These are for Explicit and Implicit directionality information, as
44 ;; defined in RFC 1556. We don't yet support directional information
45 ;; in bidi languages, so these aliases are a lie, especially as far as
46 ;; iso-8859-8-e is concerned. FIXME.
47 (define-coding-system-alias 'iso-8859-8-e
'hebrew-iso-8bit
)
48 (define-coding-system-alias 'iso-8859-8-i
'hebrew-iso-8bit
)
50 (set-language-info-alist
51 "Hebrew" '((charset . iso-8859-8
)
52 (coding-priority hebrew-iso-8bit
)
53 (coding-system hebrew-iso-8bit
)
54 (nonascii-translation . iso-8859-8
)
55 (input-method .
"hebrew")
56 (unibyte-display . hebrew-iso-8bit
)
57 (sample-text .
"Hebrew \e,Hylem\e(B")
58 (documentation .
"Right-to-left writing is not yet supported.")))
60 (set-language-info-alist
61 "Windows-1255" '((coding-priority windows-1255
)
62 (coding-system windows-1255
)
64 Support for Windows-1255 encoding, e.g. for Yiddish.
65 Right-to-left writing is not yet supported.")))
67 (define-coding-system 'windows-1255
68 "windows-1255 (Hebrew) encoding (MIME: WINDOWS-1255)"
71 :charset-list
'(windows-1255)
72 :mime-charset
'windows-1255
)
73 (define-coding-system-alias 'cp1255
'windows-1255
)
75 (define-coding-system 'cp862
76 "DOS codepage 862 (Portuguese)"
79 :charset-list
'(cp862)
81 (define-coding-system-alias 'ibm862
'cp862
)
85 ;;; hebrew.el ends here