Variable: locale-charset-language-names

locale-charset-language-names is a variable defined in mule-cmds.el.gz.

Value

((".*8859[-_]?1\\>" . "Latin-1")
 (".*8859[-_]?2\\>" . "Latin-2")
 (".*8859[-_]?3\\>" . "Latin-3")
 (".*8859[-_]?4\\>" . "Latin-4")
 (".*8859[-_]?9\\>" . "Latin-5")
 (".*8859[-_]?14\\>" . "Latin-8")
 (".*8859[-_]?15\\>" . "Latin-9")
 (".*utf\\(?:-?8\\)?\\>" . "UTF-8")
 (".*@euro\\>" . "Latin-9"))

Documentation

List of pairs of locale regexps and charset language names.

The first element whose locale regexp matches the start of a downcased locale specifies the language name whose charset corresponds to that locale. This language name is used if the locale is not listed in locale-language-names.

Probably introduced at or before Emacs version 21.1.

Source Code

;; Defined in /usr/src/emacs/lisp/international/mule-cmds.el.gz
(defconst locale-charset-language-names
  (purecopy
   '((".*8859[-_]?1\\>" . "Latin-1")
     (".*8859[-_]?2\\>" . "Latin-2")
     (".*8859[-_]?3\\>" . "Latin-3")
     (".*8859[-_]?4\\>" . "Latin-4")
     (".*8859[-_]?9\\>" . "Latin-5")
     (".*8859[-_]?14\\>" . "Latin-8")
     (".*8859[-_]?15\\>" . "Latin-9")
     (".*utf\\(?:-?8\\)?\\>" . "UTF-8")
     ;; utf-8@euro exists, so put this last.  (@euro really specifies
     ;; the currency, rather than the charset.)
     (".*@euro\\>" . "Latin-9")))
  "List of pairs of locale regexps and charset language names.
The first element whose locale regexp matches the start of a downcased locale
specifies the language name whose charset corresponds to that locale.
This language name is used if the locale is not listed in
`locale-language-names'.")