2002-10-01 17:06:54 +00:00
|
|
|
;;; misc-lang.el --- support for miscellaneous languages (characters) -*- no-byte-compile: t -*-
|
1997-02-20 07:02:49 +00:00
|
|
|
|
2006-12-13 01:13:58 +00:00
|
|
|
;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
|
2010-01-13 00:35:10 -08:00
|
|
|
;; 2005, 2006, 2007, 2008, 2009, 2010
|
2005-05-16 07:03:28 +00:00
|
|
|
;; National Institute of Advanced Industrial Science and Technology (AIST)
|
|
|
|
;; Registration Number H14PRO021
|
1997-02-20 07:02:49 +00:00
|
|
|
|
|
|
|
;; Keywords: multilingual, character set, coding system
|
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
2008-05-06 04:29:13 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
1997-02-20 07:02:49 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-06 04:29:13 +00:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
1997-02-20 07:02:49 +00:00
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2008-05-06 04:29:13 +00:00
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
1997-02-20 07:02:49 +00:00
|
|
|
|
2001-07-15 19:53:53 +00:00
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
1997-02-20 07:02:49 +00:00
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
;;; IPA (International Phonetic Alphabet)
|
|
|
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
|
|
|
1997-07-02 12:58:31 +00:00
|
|
|
(set-language-info-alist
|
1998-08-10 06:29:02 +00:00
|
|
|
"IPA" '((charset . (ipa))
|
2009-07-15 12:22:38 +00:00
|
|
|
(coding-priority utf-8)
|
|
|
|
(coding-system utf-8)
|
1998-08-10 06:29:02 +00:00
|
|
|
(input-method . "ipa")
|
|
|
|
(nonascii-translation . ipa)
|
1997-07-02 12:58:31 +00:00
|
|
|
(documentation . "\
|
|
|
|
IPA is International Phonetic Alphabet for English, French, German
|
|
|
|
and Italian.")))
|
|
|
|
|
2006-10-02 08:05:16 +00:00
|
|
|
;; This is for Arabic. But, as we still don't have Arabic language
|
|
|
|
;; support, we at least define a coding system here.
|
|
|
|
|
|
|
|
(define-coding-system 'iso-8859-6
|
|
|
|
"ISO-8859-6 based encoding (MIME:ISO-8859-6)."
|
|
|
|
:coding-type 'charset
|
|
|
|
:mnemonic ?6
|
|
|
|
:charset-list '(iso-8859-6)
|
|
|
|
:mime-charset 'iso-8859-6)
|
|
|
|
|
2010-03-08 10:50:35 +09:00
|
|
|
(define-coding-system 'windows-1256
|
|
|
|
"windows-1256 (Arabic) encoding (MIME: WINDOWS-1256)"
|
|
|
|
:coding-type 'charset
|
|
|
|
:mnemonic ?A
|
|
|
|
:charset-list '(windows-1256)
|
|
|
|
:mime-charset 'windows-1256)
|
|
|
|
(define-coding-system-alias 'cp1256 'windows-1256)
|
|
|
|
|
2000-11-22 19:28:28 +00:00
|
|
|
(provide 'misc-lang)
|
|
|
|
|
2008-04-10 14:10:46 +00:00
|
|
|
;; arch-tag: 6953585c-1a1a-4c09-be82-a2518afb6074
|
1997-02-20 07:02:49 +00:00
|
|
|
;;; misc-lang.el ends here
|