Commit | Line | Data |
---|---|---|
c38e0c97 | 1 | ;;; romanian.el --- support for Romanian -*- coding: utf-8 -*- |
2c8d97b0 | 2 | |
ba318903 | 3 | ;; Copyright (C) 1998, 2001-2014 Free Software Foundation, Inc. |
2c8d97b0 DN |
4 | |
5 | ;; Author: Dan Nicolaescu <done@ece.arizona.edu> | |
ec8ac703 | 6 | ;; Keywords: multilingual, Romanian, i18n |
2c8d97b0 DN |
7 | |
8 | ;; This file is part of GNU Emacs. | |
9 | ||
4936186e | 10 | ;; GNU Emacs is free software: you can redistribute it and/or modify |
2c8d97b0 | 11 | ;; it under the terms of the GNU General Public License as published by |
4936186e GM |
12 | ;; the Free Software Foundation, either version 3 of the License, or |
13 | ;; (at your option) any later version. | |
2c8d97b0 DN |
14 | |
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. | |
19 | ||
20 | ;; You should have received a copy of the GNU General Public License | |
4936186e | 21 | ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |
2c8d97b0 DN |
22 | |
23 | ;;; Commentary: | |
24 | ||
ec8ac703 | 25 | ;; Romanian ISO 8859-2 environment plus 8859-16 coding system. |
2c8d97b0 DN |
26 | |
27 | ;;; Code: | |
28 | ||
2c8d97b0 | 29 | (set-language-info-alist |
8f924df7 KH |
30 | "Romanian" '((charset iso-8859-2) |
31 | (coding-system iso-8859-2 iso-latin-10) | |
32 | (coding-priority iso-8859-2) | |
678fea0e | 33 | (nonascii-translation . iso-8859-2) |
8f76845d | 34 | (input-method . "latin-2-postfix") |
8f76845d | 35 | (unibyte-display . iso-8859-2) |
c0c63952 | 36 | (tutorial . "TUTORIAL.ro") |
c38e0c97 | 37 | (sample-text . "Bună ziua, bine aţi venit!") |
09e80d9f | 38 | (documentation . "Romanian environment using Latin-2 encoding. |
0ad95ea2 | 39 | An environment for generic Latin-10 encoding is also available.")) |
2c8d97b0 DN |
40 | '("European")) |
41 | ||
ec8ac703 DL |
42 | (define-coding-system 'iso-latin-10 |
43 | "ISO 2022 based 8-bit encoding for Latin-10." | |
44 | :coding-type 'charset | |
45 | :mnemonic ?* | |
7996eb78 DL |
46 | :charset-list '(iso-8859-16) |
47 | :mime-charset 'iso-8859-16) | |
ec8ac703 | 48 | |
7996eb78 | 49 | (define-coding-system-alias 'iso-8859-16 'iso-latin-10) |
ec8ac703 DL |
50 | (define-coding-system-alias 'latin-10 'iso-latin-10) |
51 | ||
2c8d97b0 DN |
52 | (provide 'romanian) |
53 | ||
e8af40ee | 54 | ;;; romanian.el ends here |