summaryrefslogtreecommitdiff
path: root/lisp/international/characters.el
diff options
context:
space:
mode:
authorसमीर सिंह Sameer Singh <lumarzeli30@gmail.com>2022-09-16 06:52:51 +0530
committerEli Zaretskii <eliz@gnu.org>2022-09-17 09:51:22 +0300
commit8ec7f8f1699ca1ab4d1e75b369ea231f5802f0e3 (patch)
treedb85ba3d6bd94cc2974592f7abc4ab12134cbb97 /lisp/international/characters.el
parent34a97f045a13fe6ad279f57ecdc6f7a3bee7caa2 (diff)
downloademacs-8ec7f8f1699ca1ab4d1e75b369ea231f5802f0e3.tar.gz
Update Unicode support to Unicode version 15.0.0 (bug#57846)
* admin/unidata/BidiBrackets.txt * admin/unidata/BidiMirroring.txt * admin/unidata/Blocks.txt * admin/unidata/IVD_Sequences.txt * admin/unidata/IdnaMappingTable.txt * admin/unidata/NormalizationTest.txt * admin/unidata/PropertyValueAliases.txt * admin/unidata/ScriptExtensions.txt * admin/unidata/Scripts.txt * admin/unidata/SpecialCasing.txt * admin/unidata/UnicodeData.txt * admin/unidata/confusables.txt * admin/unidata/copyright.html * admin/unidata/emoji-data.txt * admin/unidata/emoji-sequences.txt * admin/unidata/emoji-test.txt * admin/unidata/emoji-zwj-sequences.txt * test/manual/BidiCharacterTest.txt: Updated files from Unicode 15.0. * admin/unidata/unidata-gen.el (unidata-file-alist): Add new ranges. * lisp/international/fontset.el (script-representative-chars): Add new scripts. (otf-script-alist): Update from latest version. (setup-default-fontset): Add new scripts. * lisp/international/characters.el: Update syntax and category tables for new characters and scripts. (char-width-table): Update for changes in Unicode 15.0. * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part1) (ucs-normalize-tests--failing-lines-part2): Update per the test results. * doc/lispref/nonascii.texi (Character Properties): Update Unicode version number. * etc/NEWS: Announce support for Unicode 15.0.
Diffstat (limited to 'lisp/international/characters.el')
-rw-r--r--lisp/international/characters.el62
1 files changed, 44 insertions, 18 deletions
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index 245ade54e18..9dcae187f21 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -152,6 +152,9 @@ with L, LRE, or LRO Unicode bidi character type.")
(modify-category-entry '(#x20000 . #x2FFFF) ?|)
(modify-category-entry '(#x20000 . #x2FFFF) ?C)
(modify-category-entry '(#x20000 . #x2FFFF) ?c)
+(modify-category-entry '(#x30000 . #x323AF) ?|)
+(modify-category-entry '(#x30000 . #x323AF) ?C)
+(modify-category-entry '(#x30000 . #x323AF) ?c)
;; Chinese character set (GB2312)
@@ -227,7 +230,7 @@ with L, LRE, or LRO Unicode bidi character type.")
(modify-category-entry #x1B001 ?H)
(modify-category-entry #x1B11F ?H)
(modify-category-entry '(#x1B150 . #x1B152) ?H)
-(modify-category-entry '(#x1B002 . #x1B11E) ?H) ; Hentiagana
+(modify-category-entry '(#x1B002 . #x1B11E) ?H) ; Hentaigana
(modify-category-entry '(#x1AFF0 . #x1B1FF) ?j)
@@ -306,6 +309,7 @@ with L, LRE, or LRO Unicode bidi character type.")
(modify-category-entry '(#xfb50 . #xfdcf) ?b)
(modify-category-entry '(#xfdf0 . #xfdff) ?b)
(modify-category-entry '(#xfe70 . #xfefe) ?b)
+(modify-category-entry '(#x10ec0 . #x10eff) ?b)
;; Cyrillic character set (ISO-8859-5)
@@ -615,6 +619,9 @@ with L, LRE, or LRO Unicode bidi character type.")
;; Cyrillic Extended-C
(modify-category-entry '(#x1C80 . #x1C8F) ?y)
+ ;; Cyrillic Extended-D
+ (modify-category-entry '(#x1E030 . #x1E08F) ?y)
+
;; space characters (see section 6.2 in the Unicode Standard)
(set-case-syntax ?  " " tbl)
(setq c #x2000)
@@ -1283,16 +1290,24 @@ with L, LRE, or LRO Unicode bidi character type.")
(#x2B1B . #x2B1C)
(#x2B50 . #x2B50)
(#x2B55 . #x2B55)
- (#x2E80 . #x303E)
- (#x3040 . #x3247)
+ (#x2E80 . #x2E99)
+ (#x2E9B . #x2EF3)
+ (#x2F00 . #x2FD5)
+ (#x2FF0 . #x2FFB)
+ (#x3000 . #x303E)
+ (#x3041 . #x3096)
+ (#x3099 . #x30FF)
+ (#x3105 . #x312F)
+ (#x3131 . #x31E3)
+ (#x31F0 . #x3247)
(#x3250 . #x4DBF)
- (#x4E00 . #x9FFF)
+ (#x4E00 . #xA48C)
(#xA490 . #xA4C6)
- (#xA960 . #xA97F)
+ (#xA960 . #xA97C)
(#xAC00 . #xD7A3)
(#xF900 . #xFAFF)
(#xFE10 . #xFE19)
- (#xFE30 . #xFE6F)
+ (#xFE30 . #xFE6B)
(#xFF01 . #xFF60)
(#xFFE0 . #xFFE6)
(#x16FE0 . #x16FE4)
@@ -1300,8 +1315,14 @@ with L, LRE, or LRO Unicode bidi character type.")
(#x17000 . #x187F7)
(#x18800 . #x18AFF)
(#x18B00 . #x18CD5)
- (#x1AFF0 . #x1AFFF)
- (#x1B000 . #x1B152)
+ (#x18D00 . #x18D08)
+ (#x1AFF0 . #x1AFF3)
+ (#x1AFF5 . #x1AFFB)
+ (#x1AFFD . #x1AFFE)
+ (#x1B000 . #x1B122)
+ (#x1B132 . #x1B132)
+ (#x1B150 . #x1B152)
+ (#x1B155 . #x1B155)
(#x1B164 . #x1B167)
(#x1B170 . #x1B2FB)
(#x1F004 . #x1F004)
@@ -1309,7 +1330,12 @@ with L, LRE, or LRO Unicode bidi character type.")
(#x1F18E . #x1F18E)
(#x1F191 . #x1F19A)
(#x1F1AD . #x1F1AD)
- (#x1F200 . #x1F320)
+ (#x1F200 . #x1F202)
+ (#x1F210 . #x1F23B)
+ (#x1F240 . #x1F248)
+ (#x1F250 . #x1F251)
+ (#x1F260 . #x1F265)
+ (#x1F300 . #x1F320)
(#x1F32D . #x1F335)
(#x1F337 . #x1F37C)
(#x1F37E . #x1F393)
@@ -1334,10 +1360,11 @@ with L, LRE, or LRO Unicode bidi character type.")
(#x1F6CC . #x1F6CC)
(#x1F6D0 . #x1F6D2)
(#x1F6D5 . #x1F6D7)
- (#x1F6DD . #x1F6DF)
+ (#x1F6DC . #x1F6DF)
(#x1F6EB . #x1F6EC)
(#x1F6F4 . #x1F6FC)
- (#x1F7E0 . #x1F7F0)
+ (#x1F7E0 . #x1F7EB)
+ (#x1F7F0 . #x1F7F0)
(#x1F90C . #x1F93A)
(#x1F93C . #x1F945)
(#x1F947 . #x1F9FF)
@@ -1345,13 +1372,12 @@ with L, LRE, or LRO Unicode bidi character type.")
(#x1FA60 . #x1FA6D)
(#x1FA70 . #x1FA74)
(#x1FA78 . #x1FA7C)
- (#x1FA80 . #x1FA86)
- (#x1FA90 . #x1FAAC)
- (#x1FAB0 . #x1FABA)
- (#x1FAC0 . #x1FAC5)
- (#x1FAD0 . #x1FAD9)
- (#x1FAE0 . #x1FAE7)
- (#x1FAF0 . #x1FAF6)
+ (#x1FA80 . #x1FA88)
+ (#x1FA90 . #x1FABD)
+ (#x1FABF . #x1FAC5)
+ (#x1FACE . #x1FADB)
+ (#x1FAE0 . #x1FAE8)
+ (#x1FAF0 . #x1FAF8)
(#x1FB00 . #x1FB92)
(#x20000 . #x2FFFF)
(#x30000 . #x3FFFF))))