Mercurial > emacs
comparison lisp/international/mule-cmds.el @ 46501:347694b9f9ff
(locale-language-names): Fix be, add
sr_YU@cyrillic, modify tg.
(locale-charset-language-names): Put @euro last.
author | Dave Love <fx@gnu.org> |
---|---|
date | Wed, 17 Jul 2002 18:42:03 +0000 |
parents | b634913b5b45 |
children | 79837bb10069 |
comparison
equal
deleted
inserted
replaced
46500:81c9cd627d93 | 46501:347694b9f9ff |
---|---|
1504 (if (functionp func) (funcall func)))) | 1504 (if (functionp func) (funcall func)))) |
1505 (let ((default-eol-type (coding-system-eol-type | 1505 (let ((default-eol-type (coding-system-eol-type |
1506 default-buffer-file-coding-system))) | 1506 default-buffer-file-coding-system))) |
1507 (reset-language-environment) | 1507 (reset-language-environment) |
1508 | 1508 |
1509 ;; The fetaures might set up coding systems. | 1509 ;; The features might set up coding systems. |
1510 (let ((required-features (get-language-info language-name 'features))) | 1510 (let ((required-features (get-language-info language-name 'features))) |
1511 (while required-features | 1511 (while required-features |
1512 (require (car required-features)) | 1512 (require (car required-features)) |
1513 (setq required-features (cdr required-features)))) | 1513 (setq required-features (cdr required-features)))) |
1514 | 1514 |
1752 ; ar Arabic glibc uses 8859-6 | 1752 ; ar Arabic glibc uses 8859-6 |
1753 ; as Assamese | 1753 ; as Assamese |
1754 ; ay Aymara | 1754 ; ay Aymara |
1755 ; az Azerbaijani | 1755 ; az Azerbaijani |
1756 ; ba Bashkir | 1756 ; ba Bashkir |
1757 ("be" . "Belarussian") ; Belarussian [Byelorussian] | 1757 ("be" . "Belarusian") ; Belarusian [Byelorussian until early 1990s] |
1758 ("bg" . "Bulgarian") ; Bulgarian | 1758 ("bg" . "Bulgarian") ; Bulgarian |
1759 ; bh Bihari | 1759 ; bh Bihari |
1760 ; bi Bislama | 1760 ; bi Bislama |
1761 ; bn Bengali, Bangla | 1761 ; bn Bengali, Bangla |
1762 ("bo" . "Tibetan") | 1762 ("bo" . "Tibetan") |
1857 ; sm Samoan | 1857 ; sm Samoan |
1858 ; sn Shona | 1858 ; sn Shona |
1859 ; so Somali | 1859 ; so Somali |
1860 ("sq" . "Latin-1") ; Albanian | 1860 ("sq" . "Latin-1") ; Albanian |
1861 ("sr" . "Latin-2") ; Serbian (Latin alphabet) | 1861 ("sr" . "Latin-2") ; Serbian (Latin alphabet) |
1862 ("sr_YU@cyrillic" . "Cyrillic-ISO") ; per glibc | |
1862 ; ss Siswati | 1863 ; ss Siswati |
1863 ; st Sesotho | 1864 ; st Sesotho |
1864 ; su Sundanese | 1865 ; su Sundanese |
1865 ("sv" . "Latin-1") ; Swedish | 1866 ("sv" . "Latin-1") ; Swedish |
1866 ("sw" . "Latin-1") ; Swahili | 1867 ("sw" . "Latin-1") ; Swahili |
1867 ; ta Tamil glibc uses utf-8 | 1868 ; ta Tamil glibc uses utf-8 |
1868 ; te Telugu glibc uses utf-8 | 1869 ; te Telugu glibc uses utf-8 |
1869 ("tg" . "Cyrillic-KOI8-T") ; Tajik | 1870 ("tg" . "Tajik") |
1870 ("th" . "Thai") | 1871 ("th" . "Thai") |
1871 ; ti Tigrinya | 1872 ; ti Tigrinya |
1872 ; tk Turkmen | 1873 ; tk Turkmen |
1873 ("tl" . "Latin-1") ; Tagalog | 1874 ("tl" . "Latin-1") ; Tagalog |
1874 ; tn Setswana | 1875 ; tn Setswana |
1932 (".*8859[-_]?3\\>" . "Latin-3") | 1933 (".*8859[-_]?3\\>" . "Latin-3") |
1933 (".*8859[-_]?4\\>" . "Latin-4") | 1934 (".*8859[-_]?4\\>" . "Latin-4") |
1934 (".*8859[-_]?9\\>" . "Latin-5") | 1935 (".*8859[-_]?9\\>" . "Latin-5") |
1935 (".*8859[-_]?14\\>" . "Latin-8") | 1936 (".*8859[-_]?14\\>" . "Latin-8") |
1936 (".*8859[-_]?15\\>" . "Latin-9") | 1937 (".*8859[-_]?15\\>" . "Latin-9") |
1937 (".*@euro\\>" . "Latin-9") | 1938 (".*utf\\(-?8\\)\\>" . "UTF-8") |
1938 (".*utf\\(-?8\\)\\>" . "UTF-8"))) | 1939 ;; utf-8@euro exists, so put this last. (@euro really specifies |
1940 ;; the currency, rather than the charset.) | |
1941 (".*@euro\\>" . "Latin-9"))) | |
1939 "List of pairs of locale regexps and charset language names. | 1942 "List of pairs of locale regexps and charset language names. |
1940 The first element whose locale regexp matches the start of a downcased locale | 1943 The first element whose locale regexp matches the start of a downcased locale |
1941 specifies the language name whose charsets corresponds to that locale. | 1944 specifies the language name whose charsets corresponds to that locale. |
1942 This language name is used if its charsets disagree with the charsets of | 1945 This language name is used if its charsets disagree with the charsets of |
1943 the language name that would otherwise be used for this locale.") | 1946 the language name that would otherwise be used for this locale.") |