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 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.
36 "ISO 2022 based 8-bit encoding for Hebrew (MIME:ISO-8859-8)."
37 '(ascii hebrew-iso8859-8 nil nil
38 nil ascii-eol ascii-cntl nil nil nil nil nil t
)
39 '((safe-charsets ascii hebrew-iso8859-8
)
40 (mime-charset . iso-8859-8
)))
42 (define-coding-system-alias 'iso-8859-8
'hebrew-iso-8bit
)
44 ;; These are for Explicit and Implicit directionality information, as
45 ;; defined in RFC 1556. We don't yet support directional information
46 ;; in bidi languages, so these aliases are a lie, especially as far as
47 ;; iso-8859-8-e is concerned. FIXME.
48 (define-coding-system-alias 'iso-8859-8-e
'hebrew-iso-8bit
)
49 (define-coding-system-alias 'iso-8859-8-i
'hebrew-iso-8bit
)
51 (set-language-info-alist
52 "Hebrew" '((charset .
(hebrew-iso8859-8))
53 (coding-priority hebrew-iso-8bit
)
54 (coding-system .
(hebrew-iso-8bit))
55 (nonascii-translation . hebrew-iso8859-8
)
56 (input-method .
"hebrew")
57 (unibyte-display . hebrew-iso-8bit
)
58 (sample-text .
"Hebrew \e,Hylem\e(B")
59 (documentation .
"Right-to-left writing is not yet supported.")))
61 (set-language-info-alist
62 "Windows-1255" '((coding-priority windows-1255
)
63 (coding-system windows-1255
)
66 Support for Windows-1255 encoding, e.g. for Yiddish.
67 Right-to-left writing is not yet supported.")))
71 ;;; hebrew.el ends here