From ea721f2d0b15978315f18f985364e22912a50dfb Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 19 Nov 2022 11:25:25 +0200 Subject: [PATCH] ; Explain why some files are encoded in utf-8-emacs * lisp/international/titdic-cnv.el: * lisp/language/ethio-util.el: * lisp/language/ethiopic.el: * lisp/language/ind-util.el: * lisp/language/tibetan.el: * lisp/language/tibet-util.el: * lisp/leim/quail/ethiopic.el: * lisp/leim/quail/tibetan.el: Add commentary explaining why these files are encoded in utf-8-emacs. (Bug#59341) --- lisp/international/titdic-cnv.el | 7 +++++++ lisp/language/ethio-util.el | 7 +++++++ lisp/language/ethiopic.el | 7 +++++++ lisp/language/ind-util.el | 7 +++++++ lisp/language/tibet-util.el | 7 +++++++ lisp/language/tibetan.el | 7 +++++++ lisp/leim/quail/ethiopic.el | 7 +++++++ lisp/leim/quail/tibetan.el | 7 +++++++ 8 files changed, 56 insertions(+) diff --git a/lisp/international/titdic-cnv.el b/lisp/international/titdic-cnv.el index d2a6ee1e9d1..b942f5fabc2 100644 --- a/lisp/international/titdic-cnv.el +++ b/lisp/international/titdic-cnv.el @@ -59,6 +59,13 @@ ;; Near the end of this file, we also have a few other tools to convert ;; miscellaneous dictionaries. +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (require 'quail) diff --git a/lisp/language/ethio-util.el b/lisp/language/ethio-util.el index 2f76acfe7cb..3744b7b24f9 100644 --- a/lisp/language/ethio-util.el +++ b/lisp/language/ethio-util.el @@ -30,6 +30,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (require 'robin) diff --git a/lisp/language/ethiopic.el b/lisp/language/ethiopic.el index 1faba424ba2..fb1e2728436 100644 --- a/lisp/language/ethiopic.el +++ b/lisp/language/ethiopic.el @@ -27,6 +27,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (define-ccl-program ccl-encode-ethio-font diff --git a/lisp/language/ind-util.el b/lisp/language/ind-util.el index e2a21820f4f..447ca0c20cc 100644 --- a/lisp/language/ind-util.el +++ b/lisp/language/ind-util.el @@ -27,6 +27,13 @@ ;; Finally, this program provides the compatibility support with ;; old implementation of Devanagari script. +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: ;;; Transliteration diff --git a/lisp/language/tibet-util.el b/lisp/language/tibet-util.el index e7cb289b65f..0f09c48d6d6 100644 --- a/lisp/language/tibet-util.el +++ b/lisp/language/tibet-util.el @@ -32,6 +32,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (defconst tibetan-obsolete-glyphs diff --git a/lisp/language/tibetan.el b/lisp/language/tibetan.el index 0262798bb27..81210457897 100644 --- a/lisp/language/tibetan.el +++ b/lisp/language/tibetan.el @@ -34,6 +34,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: ;;; Tibetan Character set. diff --git a/lisp/leim/quail/ethiopic.el b/lisp/leim/quail/ethiopic.el index c8753effe0a..df4bf596cb6 100644 --- a/lisp/leim/quail/ethiopic.el +++ b/lisp/leim/quail/ethiopic.el @@ -26,6 +26,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (require 'quail) diff --git a/lisp/leim/quail/tibetan.el b/lisp/leim/quail/tibetan.el index ca44f7022d2..7f0848d04bd 100644 --- a/lisp/leim/quail/tibetan.el +++ b/lisp/leim/quail/tibetan.el @@ -33,6 +33,13 @@ ;;; Commentary: +;; Note: This file includes several codepoints outside of the Unicode +;; 0..#x10FFFF range, which are characters that were not unified into +;; Unicode. Therefore, this file is encoded in utf-8-emacs, because +;; UTF-8 cannot encode such codepoints. We include these codepoints +;; literally in the file to have them displayed by suitable fonts, +;; which makes maintenance easier. + ;;; Code: (require 'quail) -- 2.39.5