romanian.el 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. ;;; romanian.el --- support for Romanian -*- coding: iso-latin-2; no-byte-compile: t -*-
  2. ;; Copyright (C) 1998, 2001-2012 Free Software Foundation, Inc.
  3. ;; Author: Dan Nicolaescu <done@ece.arizona.edu>
  4. ;; Keywords: multilingual, Romanian, i18n
  5. ;; This file is part of GNU Emacs.
  6. ;; GNU Emacs is free software: you can redistribute it and/or modify
  7. ;; it under the terms of the GNU General Public License as published by
  8. ;; the Free Software Foundation, either version 3 of the License, or
  9. ;; (at your option) any later version.
  10. ;; GNU Emacs is distributed in the hope that it will be useful,
  11. ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. ;; GNU General Public License for more details.
  14. ;; You should have received a copy of the GNU General Public License
  15. ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  16. ;;; Commentary:
  17. ;; Romanian ISO 8859-2 environment plus 8859-16 coding system.
  18. ;;; Code:
  19. (set-language-info-alist
  20. "Romanian" '((charset iso-8859-2)
  21. (coding-system iso-8859-2 iso-latin-10)
  22. (coding-priority iso-8859-2)
  23. (nonascii-translation . iso-8859-2)
  24. (input-method . "latin-2-postfix")
  25. (unibyte-display . iso-8859-2)
  26. (tutorial . "TUTORIAL.ro")
  27. (sample-text . "Bunã ziua, bine aþi venit!")
  28. (documentation . "Romanian environment using Latin-2 encoding.
  29. An environment for generic Latin-10 encoding is also available."))
  30. '("European"))
  31. (define-coding-system 'iso-latin-10
  32. "ISO 2022 based 8-bit encoding for Latin-10."
  33. :coding-type 'charset
  34. :mnemonic ?*
  35. :charset-list '(iso-8859-16)
  36. :mime-charset 'iso-8859-16)
  37. (define-coding-system-alias 'iso-8859-16 'iso-latin-10)
  38. (define-coding-system-alias 'latin-10 'iso-latin-10)
  39. (provide 'romanian)
  40. ;;; romanian.el ends here