file-attribute-collect: New defun
[emacs.git] / lisp / language / romanian.el
blob10c4ae5bf2c5877dec5b4ca34ba1deee3dcf2250
1 ;;; romanian.el --- support for Romanian -*- coding: utf-8 -*-
3 ;; Copyright (C) 1998, 2001-2016 Free Software Foundation, Inc.
5 ;; Author: Dan Nicolaescu <done@ece.arizona.edu>
6 ;; Keywords: multilingual, Romanian, i18n
8 ;; This file is part of GNU Emacs.
10 ;; GNU Emacs is free software: you can redistribute it and/or modify
11 ;; it under the terms of the GNU General Public License as published by
12 ;; the Free Software Foundation, either version 3 of the License, or
13 ;; (at your option) any later version.
15 ;; GNU Emacs is distributed in the hope that it will be useful,
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 ;; GNU General Public License for more details.
20 ;; 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/>.
23 ;;; Commentary:
25 ;; Romanian ISO 8859-2 environment plus 8859-16 coding system.
27 ;;; Code:
29 (set-language-info-alist
30 "Romanian" '((charset iso-8859-2)
31 (coding-system iso-8859-2 iso-latin-10)
32 (coding-priority iso-8859-2)
33 (nonascii-translation . iso-8859-2)
34 (input-method . "latin-2-postfix")
35 (unibyte-display . iso-8859-2)
36 (tutorial . "TUTORIAL.ro")
37 (sample-text . "Bună ziua, bine aţi venit!")
38 (documentation . "Romanian environment using Latin-2 encoding.
39 An environment for generic Latin-10 encoding is also available."))
40 '("European"))
42 (define-coding-system 'iso-latin-10
43 "ISO 2022 based 8-bit encoding for Latin-10."
44 :coding-type 'charset
45 :mnemonic ?*
46 :charset-list '(iso-8859-16)
47 :mime-charset 'iso-8859-16)
49 (define-coding-system-alias 'iso-8859-16 'iso-latin-10)
50 (define-coding-system-alias 'latin-10 'iso-latin-10)
52 (provide 'romanian)
54 ;;; romanian.el ends here