romanian.el 1.8 KB
Newer Older
1
;;; romanian.el --- support for Romanian -*- coding: iso-latin-2 -*-
Dan Nicolaescu's avatar
Dan Nicolaescu committed
2

3
;; Copyright (C) 1998, 2001-2012 Free Software Foundation, Inc.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
4 5

;; Author:    Dan Nicolaescu <done@ece.arizona.edu>
Dave Love's avatar
Dave Love committed
6
;; Keywords: multilingual, Romanian, i18n
Dan Nicolaescu's avatar
Dan Nicolaescu committed
7 8 9

;; This file is part of GNU Emacs.

10
;; GNU Emacs is free software: you can redistribute it and/or modify
Dan Nicolaescu's avatar
Dan Nicolaescu committed
11
;; it under the terms of the GNU General Public License as published by
12 13
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
14 15 16 17 18 19 20

;; 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
21
;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
22 23 24

;;; Commentary:

Dave Love's avatar
Dave Love committed
25
;; Romanian ISO 8859-2 environment plus 8859-16 coding system.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
26 27 28 29

;;; Code:

(set-language-info-alist
Kenichi Handa's avatar
Kenichi Handa committed
30 31 32
 "Romanian" '((charset iso-8859-2)
	      (coding-system iso-8859-2 iso-latin-10)
	      (coding-priority iso-8859-2)
33
	      (nonascii-translation . iso-8859-2)
34 35
	      (input-method . "latin-2-postfix")
	      (unibyte-display . iso-8859-2)
36
	      (tutorial . "TUTORIAL.ro")
37
	      (sample-text . "Bun ziua, bine ai venit!")
Paul Eggert's avatar
Paul Eggert committed
38
	      (documentation . "Romanian environment using Latin-2 encoding.
Dave Love's avatar
Dave Love committed
39
An environment for generic Latin-10 encoding is also available."))
Dan Nicolaescu's avatar
Dan Nicolaescu committed
40 41
 '("European"))

Dave Love's avatar
Dave Love committed
42 43 44 45
(define-coding-system 'iso-latin-10
  "ISO 2022 based 8-bit encoding for Latin-10."
  :coding-type 'charset
  :mnemonic ?*
Dave Love's avatar
Dave Love committed
46 47
  :charset-list '(iso-8859-16)
  :mime-charset 'iso-8859-16)
Dave Love's avatar
Dave Love committed
48

Dave Love's avatar
Dave Love committed
49
(define-coding-system-alias 'iso-8859-16 'iso-latin-10)
Dave Love's avatar
Dave Love committed
50 51
(define-coding-system-alias 'latin-10 'iso-latin-10)

Dan Nicolaescu's avatar
Dan Nicolaescu committed
52 53
(provide 'romanian)

54
;;; romanian.el ends here