Auto merge of #43698 - MaloJaffre:confusables, r=eddyb
Update the list of confusable characters Also reorder and space the list to make it clearer for futures updates and to come closer to the original list. This was tedious but somewhat rewarding! Thanks @est31 for the instructions. Fixes #43629. r? @est31
This commit is contained in:
commit
ddc02deb07
@ -1,4 +1,4 @@
|
|||||||
// Copyright 2012-2013 The Rust Project Developers. See the COPYRIGHT
|
// Copyright 2012-2017 The Rust Project Developers. See the COPYRIGHT
|
||||||
// file at the top-level directory of this distribution and at
|
// file at the top-level directory of this distribution and at
|
||||||
// http://rust-lang.org/COPYRIGHT.
|
// http://rust-lang.org/COPYRIGHT.
|
||||||
//
|
//
|
||||||
@ -9,15 +9,16 @@
|
|||||||
// except according to those terms.
|
// except according to those terms.
|
||||||
|
|
||||||
// Characters and their corresponding confusables were collected from
|
// Characters and their corresponding confusables were collected from
|
||||||
// http://www.unicode.org/Public/security/revision-06/confusables.txt
|
// http://www.unicode.org/Public/security/10.0.0/confusables.txt
|
||||||
|
|
||||||
use syntax_pos::{Span, NO_EXPANSION};
|
use syntax_pos::{Span, NO_EXPANSION};
|
||||||
use errors::DiagnosticBuilder;
|
use errors::DiagnosticBuilder;
|
||||||
use super::StringReader;
|
use super::StringReader;
|
||||||
|
|
||||||
const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[
|
const UNICODE_ARRAY: &'static [(char, &'static str, char)] = &[
|
||||||
(' ', "No-Break Space", ' '),
|
('
', "Line Separator", ' '),
|
||||||
(' ', "Ogham Space Mark", ' '),
|
('
', "Paragraph Separator", ' '),
|
||||||
|
(' ', "Ogham Space mark", ' '),
|
||||||
(' ', "En Quad", ' '),
|
(' ', "En Quad", ' '),
|
||||||
(' ', "Em Quad", ' '),
|
(' ', "Em Quad", ' '),
|
||||||
(' ', "En Space", ' '),
|
(' ', "En Space", ' '),
|
||||||
@ -25,39 +26,63 @@
|
|||||||
(' ', "Three-Per-Em Space", ' '),
|
(' ', "Three-Per-Em Space", ' '),
|
||||||
(' ', "Four-Per-Em Space", ' '),
|
(' ', "Four-Per-Em Space", ' '),
|
||||||
(' ', "Six-Per-Em Space", ' '),
|
(' ', "Six-Per-Em Space", ' '),
|
||||||
(' ', "Figure Space", ' '),
|
|
||||||
(' ', "Punctuation Space", ' '),
|
(' ', "Punctuation Space", ' '),
|
||||||
(' ', "Thin Space", ' '),
|
(' ', "Thin Space", ' '),
|
||||||
(' ', "Hair Space", ' '),
|
(' ', "Hair Space", ' '),
|
||||||
(' ', "Narrow No-Break Space", ' '),
|
|
||||||
(' ', "Medium Mathematical Space", ' '),
|
(' ', "Medium Mathematical Space", ' '),
|
||||||
|
(' ', "No-Break Space", ' '),
|
||||||
|
(' ', "Figure Space", ' '),
|
||||||
|
(' ', "Narrow No-Break Space", ' '),
|
||||||
(' ', "Ideographic Space", ' '),
|
(' ', "Ideographic Space", ' '),
|
||||||
|
|
||||||
('ߺ', "Nko Lajanyalan", '_'),
|
('ߺ', "Nko Lajanyalan", '_'),
|
||||||
('﹍', "Dashed Low Line", '_'),
|
('﹍', "Dashed Low Line", '_'),
|
||||||
('﹎', "Centreline Low Line", '_'),
|
('﹎', "Centreline Low Line", '_'),
|
||||||
('﹏', "Wavy Low Line", '_'),
|
('﹏', "Wavy Low Line", '_'),
|
||||||
|
('_', "Fullwidth Low Line", '_'),
|
||||||
|
|
||||||
('‐', "Hyphen", '-'),
|
('‐', "Hyphen", '-'),
|
||||||
('‑', "Non-Breaking Hyphen", '-'),
|
('‑', "Non-Breaking Hyphen", '-'),
|
||||||
('‒', "Figure Dash", '-'),
|
('‒', "Figure Dash", '-'),
|
||||||
('–', "En Dash", '-'),
|
('–', "En Dash", '-'),
|
||||||
('—', "Em Dash", '-'),
|
('—', "Em Dash", '-'),
|
||||||
('﹘', "Small Em Dash", '-'),
|
('﹘', "Small Em Dash", '-'),
|
||||||
|
('۔', "Arabic Full Stop", '-'),
|
||||||
('⁃', "Hyphen Bullet", '-'),
|
('⁃', "Hyphen Bullet", '-'),
|
||||||
('˗', "Modifier Letter Minus Sign", '-'),
|
('˗', "Modifier Letter Minus Sign", '-'),
|
||||||
('−', "Minus Sign", '-'),
|
('−', "Minus Sign", '-'),
|
||||||
|
('➖', "Heavy Minus Sign", '-'),
|
||||||
|
('Ⲻ', "Coptic Letter Dialect-P Ni", '-'),
|
||||||
('ー', "Katakana-Hiragana Prolonged Sound Mark", '-'),
|
('ー', "Katakana-Hiragana Prolonged Sound Mark", '-'),
|
||||||
|
('-', "Fullwidth Hyphen-Minus", '-'),
|
||||||
|
('―', "Horizontal Bar", '-'),
|
||||||
|
('─', "Box Drawings Light Horizontal", '-'),
|
||||||
|
('━', "Box Drawings Heavy Horizontal", '-'),
|
||||||
|
('㇐', "CJK Stroke H", '-'),
|
||||||
|
('ꟷ', "Latin Epigraphic Letter Dideways", '-'),
|
||||||
|
('ᅳ', "Hangul Jungseong Eu", '-'),
|
||||||
|
('ㅡ', "Hangul Letter Eu", '-'),
|
||||||
|
('一', "CJK Unified Ideograph-4E00", '-'),
|
||||||
|
('⼀', "Kangxi Radical One", '-'),
|
||||||
|
|
||||||
|
('؍', "Arabic Date Separator", ','),
|
||||||
('٫', "Arabic Decimal Separator", ','),
|
('٫', "Arabic Decimal Separator", ','),
|
||||||
('‚', "Single Low-9 Quotation Mark", ','),
|
('‚', "Single Low-9 Quotation Mark", ','),
|
||||||
|
('¸', "Cedilla", ','),
|
||||||
('ꓹ', "Lisu Letter Tone Na Po", ','),
|
('ꓹ', "Lisu Letter Tone Na Po", ','),
|
||||||
(',', "Fullwidth Comma", ','),
|
(',', "Fullwidth Comma", ','),
|
||||||
|
|
||||||
(';', "Greek Question Mark", ';'),
|
(';', "Greek Question Mark", ';'),
|
||||||
(';', "Fullwidth Semicolon", ';'),
|
(';', "Fullwidth Semicolon", ';'),
|
||||||
|
('︔', "Presentation Form For Vertical Semicolon", ';'),
|
||||||
|
|
||||||
('ः', "Devanagari Sign Visarga", ':'),
|
('ः', "Devanagari Sign Visarga", ':'),
|
||||||
('ઃ', "Gujarati Sign Visarga", ':'),
|
('ઃ', "Gujarati Sign Visarga", ':'),
|
||||||
(':', "Fullwidth Colon", ':'),
|
(':', "Fullwidth Colon", ':'),
|
||||||
('։', "Armenian Full Stop", ':'),
|
('։', "Armenian Full Stop", ':'),
|
||||||
('܃', "Syriac Supralinear Colon", ':'),
|
('܃', "Syriac Supralinear Colon", ':'),
|
||||||
('܄', "Syriac Sublinear Colon", ':'),
|
('܄', "Syriac Sublinear Colon", ':'),
|
||||||
|
('᛬', "Runic Multiple Ponctuation", ':'),
|
||||||
('︰', "Presentation Form For Vertical Two Dot Leader", ':'),
|
('︰', "Presentation Form For Vertical Two Dot Leader", ':'),
|
||||||
('᠃', "Mongolian Full Stop", ':'),
|
('᠃', "Mongolian Full Stop", ':'),
|
||||||
('᠉', "Mongolian Manchu Full Stop", ':'),
|
('᠉', "Mongolian Manchu Full Stop", ':'),
|
||||||
@ -68,25 +93,48 @@
|
|||||||
('∶', "Ratio", ':'),
|
('∶', "Ratio", ':'),
|
||||||
('ː', "Modifier Letter Triangular Colon", ':'),
|
('ː', "Modifier Letter Triangular Colon", ':'),
|
||||||
('ꓽ', "Lisu Letter Tone Mya Jeu", ':'),
|
('ꓽ', "Lisu Letter Tone Mya Jeu", ':'),
|
||||||
|
('︓', "Presentation Form For Vertical Colon", ':'),
|
||||||
|
|
||||||
('!', "Fullwidth Exclamation Mark", '!'),
|
('!', "Fullwidth Exclamation Mark", '!'),
|
||||||
('ǃ', "Latin Letter Retroflex Click", '!'),
|
('ǃ', "Latin Letter Retroflex Click", '!'),
|
||||||
|
('ⵑ', "Tifinagh Letter Tuareg Yang", '!'),
|
||||||
|
('︕', "Presentation Form For Vertical Exclamation Mark", '!'),
|
||||||
|
|
||||||
('ʔ', "Latin Letter Glottal Stop", '?'),
|
('ʔ', "Latin Letter Glottal Stop", '?'),
|
||||||
|
('Ɂ', "Latin Capital Letter Glottal Stop", '?'),
|
||||||
('ॽ', "Devanagari Letter Glottal Stop", '?'),
|
('ॽ', "Devanagari Letter Glottal Stop", '?'),
|
||||||
('Ꭾ', "Cherokee Letter He", '?'),
|
('Ꭾ', "Cherokee Letter He", '?'),
|
||||||
|
('ꛫ', "Bamum Letter Ntuu", '?'),
|
||||||
('?', "Fullwidth Question Mark", '?'),
|
('?', "Fullwidth Question Mark", '?'),
|
||||||
|
('︖', "Presentation Form For Vertical Question Mark", '?'),
|
||||||
|
|
||||||
('𝅭', "Musical Symbol Combining Augmentation Dot", '.'),
|
('𝅭', "Musical Symbol Combining Augmentation Dot", '.'),
|
||||||
('․', "One Dot Leader", '.'),
|
('․', "One Dot Leader", '.'),
|
||||||
('۔', "Arabic Full Stop", '.'),
|
|
||||||
('܁', "Syriac Supralinear Full Stop", '.'),
|
('܁', "Syriac Supralinear Full Stop", '.'),
|
||||||
('܂', "Syriac Sublinear Full Stop", '.'),
|
('܂', "Syriac Sublinear Full Stop", '.'),
|
||||||
('꘎', "Vai Full Stop", '.'),
|
('꘎', "Vai Full Stop", '.'),
|
||||||
('𐩐', "Kharoshthi Punctuation Dot", '.'),
|
('𐩐', "Kharoshthi Punctuation Dot", '.'),
|
||||||
('·', "Middle Dot", '.'),
|
|
||||||
('٠', "Arabic-Indic Digit Zero", '.'),
|
('٠', "Arabic-Indic Digit Zero", '.'),
|
||||||
('۰', "Extended Arabic-Indic Digit Zero", '.'),
|
('۰', "Extended Arabic-Indic Digit Zero", '.'),
|
||||||
('ꓸ', "Lisu Letter Tone Mya Ti", '.'),
|
('ꓸ', "Lisu Letter Tone Mya Ti", '.'),
|
||||||
('。', "Ideographic Full Stop", '.'),
|
('·', "Middle Dot", '.'),
|
||||||
('・', "Katakana Middle Dot", '.'),
|
('・', "Katakana Middle Dot", '.'),
|
||||||
|
('・', "Halfwidth Katakana Middle Dot", '.'),
|
||||||
|
('᛫', "Runic Single Punctuation", '.'),
|
||||||
|
('·', "Greek Ano Teleia", '.'),
|
||||||
|
('⸱', "Word Separator Middle Dot", '.'),
|
||||||
|
('𐄁', "Aegean Word Separator Dot", '.'),
|
||||||
|
('•', "Bullet", '.'),
|
||||||
|
('‧', "Hyphenation Point", '.'),
|
||||||
|
('∙', "Bullet Operator", '.'),
|
||||||
|
('⋅', "Dot Operator", '.'),
|
||||||
|
('ꞏ', "Latin Letter Sinological Dot", '.'),
|
||||||
|
('ᐧ', "Canadian Syllabics Final Middle Dot", '.'),
|
||||||
|
('ᐧ', "Canadian Syllabics Final Middle Dot", '.'),
|
||||||
|
('.', "Fullwidth Full Stop", '.'),
|
||||||
|
('。', "Ideographic Full Stop", '.'),
|
||||||
|
('︒', "Presentation Form For Vertical Ideographic Full Stop", '.'),
|
||||||
|
|
||||||
('՝', "Armenian Comma", '\''),
|
('՝', "Armenian Comma", '\''),
|
||||||
(''', "Fullwidth Apostrophe", '\''),
|
(''', "Fullwidth Apostrophe", '\''),
|
||||||
('‘', "Left Single Quotation Mark", '\''),
|
('‘', "Left Single Quotation Mark", '\''),
|
||||||
@ -96,8 +144,10 @@
|
|||||||
('‵', "Reversed Prime", '\''),
|
('‵', "Reversed Prime", '\''),
|
||||||
('՚', "Armenian Apostrophe", '\''),
|
('՚', "Armenian Apostrophe", '\''),
|
||||||
('׳', "Hebrew Punctuation Geresh", '\''),
|
('׳', "Hebrew Punctuation Geresh", '\''),
|
||||||
|
('`', "Greek Accent", '\''),
|
||||||
('`', "Greek Varia", '\''),
|
('`', "Greek Varia", '\''),
|
||||||
('`', "Fullwidth Grave Accent", '\''),
|
('`', "Fullwidth Grave Accent", '\''),
|
||||||
|
('´', "Acute Accent", '\''),
|
||||||
('΄', "Greek Tonos", '\''),
|
('΄', "Greek Tonos", '\''),
|
||||||
('´', "Greek Oxia", '\''),
|
('´', "Greek Oxia", '\''),
|
||||||
('᾽', "Greek Koronis", '\''),
|
('᾽', "Greek Koronis", '\''),
|
||||||
@ -105,6 +155,7 @@
|
|||||||
('῾', "Greek Dasia", '\''),
|
('῾', "Greek Dasia", '\''),
|
||||||
('ʹ', "Modifier Letter Prime", '\''),
|
('ʹ', "Modifier Letter Prime", '\''),
|
||||||
('ʹ', "Greek Numeral Sign", '\''),
|
('ʹ', "Greek Numeral Sign", '\''),
|
||||||
|
('ˈ', "Modifier Letter Vertical Line", '\''),
|
||||||
('ˊ', "Modifier Letter Acute Accent", '\''),
|
('ˊ', "Modifier Letter Acute Accent", '\''),
|
||||||
('ˋ', "Modifier Letter Grave Accent", '\''),
|
('ˋ', "Modifier Letter Grave Accent", '\''),
|
||||||
('˴', "Modifier Letter Middle Grave Accent", '\''),
|
('˴', "Modifier Letter Middle Grave Accent", '\''),
|
||||||
@ -116,6 +167,12 @@
|
|||||||
('י', "Hebrew Letter Yod", '\''),
|
('י', "Hebrew Letter Yod", '\''),
|
||||||
('ߴ', "Nko High Tone Apostrophe", '\''),
|
('ߴ', "Nko High Tone Apostrophe", '\''),
|
||||||
('ߵ', "Nko Low Tone Apostrophe", '\''),
|
('ߵ', "Nko Low Tone Apostrophe", '\''),
|
||||||
|
('ᑊ', "Canadian Syllabics West-Cree P", '\''),
|
||||||
|
('ᛌ', "Runic Letter Short-Twig-Sol S", '\''),
|
||||||
|
('𖽑', "Miao Sign Aspiration", '\''),
|
||||||
|
('𖽒', "Miao Sign Reformed Voicing", '\''),
|
||||||
|
|
||||||
|
('᳓', "Vedic Sign Nihshvasa", '"'),
|
||||||
('"', "Fullwidth Quotation Mark", '"'),
|
('"', "Fullwidth Quotation Mark", '"'),
|
||||||
('“', "Left Double Quotation Mark", '"'),
|
('“', "Left Double Quotation Mark", '"'),
|
||||||
('”', "Right Double Quotation Mark", '"'),
|
('”', "Right Double Quotation Mark", '"'),
|
||||||
@ -132,12 +189,15 @@
|
|||||||
('ײ', "Hebrew Ligature Yiddish Double Yod", '"'),
|
('ײ', "Hebrew Ligature Yiddish Double Yod", '"'),
|
||||||
('❞', "Heavy Double Comma Quotation Mark Ornament", '"'),
|
('❞', "Heavy Double Comma Quotation Mark Ornament", '"'),
|
||||||
('❝', "Heavy Double Turned Comma Quotation Mark Ornament", '"'),
|
('❝', "Heavy Double Turned Comma Quotation Mark Ornament", '"'),
|
||||||
|
|
||||||
|
('(', "Fullwidth Left Parenthesis", '('),
|
||||||
('❨', "Medium Left Parenthesis Ornament", '('),
|
('❨', "Medium Left Parenthesis Ornament", '('),
|
||||||
('﴾', "Ornate Left Parenthesis", '('),
|
('﴾', "Ornate Left Parenthesis", '('),
|
||||||
('(', "Fullwidth Left Parenthesis", '('),
|
|
||||||
|
(')', "Fullwidth Right Parenthesis", ')'),
|
||||||
('❩', "Medium Right Parenthesis Ornament", ')'),
|
('❩', "Medium Right Parenthesis Ornament", ')'),
|
||||||
('﴿', "Ornate Right Parenthesis", ')'),
|
('﴿', "Ornate Right Parenthesis", ')'),
|
||||||
(')', "Fullwidth Right Parenthesis", ')'),
|
|
||||||
('[', "Fullwidth Left Square Bracket", '['),
|
('[', "Fullwidth Left Square Bracket", '['),
|
||||||
('❲', "Light Left Tortoise Shell Bracket Ornament", '['),
|
('❲', "Light Left Tortoise Shell Bracket Ornament", '['),
|
||||||
('「', "Left Corner Bracket", '['),
|
('「', "Left Corner Bracket", '['),
|
||||||
@ -147,6 +207,7 @@
|
|||||||
('〖', "Left White Lenticular Bracket", '['),
|
('〖', "Left White Lenticular Bracket", '['),
|
||||||
('〘', "Left White Tortoise Shell Bracket", '['),
|
('〘', "Left White Tortoise Shell Bracket", '['),
|
||||||
('〚', "Left White Square Bracket", '['),
|
('〚', "Left White Square Bracket", '['),
|
||||||
|
|
||||||
(']', "Fullwidth Right Square Bracket", ']'),
|
(']', "Fullwidth Right Square Bracket", ']'),
|
||||||
('❳', "Light Right Tortoise Shell Bracket Ornament", ']'),
|
('❳', "Light Right Tortoise Shell Bracket Ornament", ']'),
|
||||||
('」', "Right Corner Bracket", ']'),
|
('」', "Right Corner Bracket", ']'),
|
||||||
@ -156,11 +217,20 @@
|
|||||||
('〗', "Right White Lenticular Bracket", ']'),
|
('〗', "Right White Lenticular Bracket", ']'),
|
||||||
('〙', "Right White Tortoise Shell Bracket", ']'),
|
('〙', "Right White Tortoise Shell Bracket", ']'),
|
||||||
('〛', "Right White Square Bracket", ']'),
|
('〛', "Right White Square Bracket", ']'),
|
||||||
|
|
||||||
('❴', "Medium Left Curly Bracket Ornament", '{'),
|
('❴', "Medium Left Curly Bracket Ornament", '{'),
|
||||||
|
('𝄔', "Musical Symbol Brace", '{'),
|
||||||
|
('{', "Fullwidth Left Curly Bracket", '{'),
|
||||||
|
|
||||||
('❵', "Medium Right Curly Bracket Ornament", '}'),
|
('❵', "Medium Right Curly Bracket Ornament", '}'),
|
||||||
|
('}', "Fullwidth Right Curly Bracket", '}'),
|
||||||
|
|
||||||
('⁎', "Low Asterisk", '*'),
|
('⁎', "Low Asterisk", '*'),
|
||||||
('٭', "Arabic Five Pointed Star", '*'),
|
('٭', "Arabic Five Pointed Star", '*'),
|
||||||
('∗', "Asterisk Operator", '*'),
|
('∗', "Asterisk Operator", '*'),
|
||||||
|
('𐌟', "Old Italic Letter Ess", '*'),
|
||||||
|
('*', "Fullwidth Asterisk", '*'),
|
||||||
|
|
||||||
('᜵', "Philippine Single Punctuation", '/'),
|
('᜵', "Philippine Single Punctuation", '/'),
|
||||||
('⁁', "Caret Insertion Point", '/'),
|
('⁁', "Caret Insertion Point", '/'),
|
||||||
('∕', "Division Slash", '/'),
|
('∕', "Division Slash", '/'),
|
||||||
@ -168,37 +238,73 @@
|
|||||||
('╱', "Box Drawings Light Diagonal Upper Right To Lower Left", '/'),
|
('╱', "Box Drawings Light Diagonal Upper Right To Lower Left", '/'),
|
||||||
('⟋', "Mathematical Rising Diagonal", '/'),
|
('⟋', "Mathematical Rising Diagonal", '/'),
|
||||||
('⧸', "Big Solidus", '/'),
|
('⧸', "Big Solidus", '/'),
|
||||||
('㇓', "Cjk Stroke Sp", '/'),
|
('𝈺', "Greek Instrumental Notation Symbol-47", '/'),
|
||||||
|
('㇓', "CJK Stroke Sp", '/'),
|
||||||
('〳', "Vertical Kana Repeat Mark Upper Half", '/'),
|
('〳', "Vertical Kana Repeat Mark Upper Half", '/'),
|
||||||
('丿', "Cjk Unified Ideograph-4E3F", '/'),
|
('Ⳇ', "Coptic Capital Letter Old Coptic Esh", '/'),
|
||||||
|
('ノ', "Katakana Letter No", '/'),
|
||||||
|
('丿', "CJK Unified Ideograph-4E3F", '/'),
|
||||||
('⼃', "Kangxi Radical Slash", '/'),
|
('⼃', "Kangxi Radical Slash", '/'),
|
||||||
|
('/', "Fullwidth Solidus", '/'),
|
||||||
|
|
||||||
('\', "Fullwidth Reverse Solidus", '\\'),
|
('\', "Fullwidth Reverse Solidus", '\\'),
|
||||||
('﹨', "Small Reverse Solidus", '\\'),
|
('﹨', "Small Reverse Solidus", '\\'),
|
||||||
('∖', "Set Minus", '\\'),
|
('∖', "Set Minus", '\\'),
|
||||||
('⟍', "Mathematical Falling Diagonal", '\\'),
|
('⟍', "Mathematical Falling Diagonal", '\\'),
|
||||||
('⧵', "Reverse Solidus Operator", '\\'),
|
('⧵', "Reverse Solidus Operator", '\\'),
|
||||||
('⧹', "Big Reverse Solidus", '\\'),
|
('⧹', "Big Reverse Solidus", '\\'),
|
||||||
|
('⧹', "Greek Vocal Notation Symbol-16", '\\'),
|
||||||
|
('⧹', "Greek Instrumental Symbol-48", '\\'),
|
||||||
|
('㇔', "CJK Stroke D", '\\'),
|
||||||
|
('丶', "CJK Unified Ideograph-4E36", '\\'),
|
||||||
|
('⼂', "Kangxi Radical Dot", '\\'),
|
||||||
('、', "Ideographic Comma", '\\'),
|
('、', "Ideographic Comma", '\\'),
|
||||||
('ヽ', "Katakana Iteration Mark", '\\'),
|
('ヽ', "Katakana Iteration Mark", '\\'),
|
||||||
('㇔', "Cjk Stroke D", '\\'),
|
|
||||||
('丶', "Cjk Unified Ideograph-4E36", '\\'),
|
|
||||||
('⼂', "Kangxi Radical Dot", '\\'),
|
|
||||||
('ꝸ', "Latin Small Letter Um", '&'),
|
('ꝸ', "Latin Small Letter Um", '&'),
|
||||||
|
('&', "Fullwidth Ampersand", '&'),
|
||||||
|
|
||||||
|
('᛭', "Runic Cros Punctuation", '+'),
|
||||||
|
('➕', "Heavy Plus Sign", '+'),
|
||||||
|
('𐊛', "Lycian Letter H", '+'),
|
||||||
('﬩', "Hebrew Letter Alternative Plus Sign", '+'),
|
('﬩', "Hebrew Letter Alternative Plus Sign", '+'),
|
||||||
|
('+', "Fullwidth Plus Sign", '+'),
|
||||||
|
|
||||||
('‹', "Single Left-Pointing Angle Quotation Mark", '<'),
|
('‹', "Single Left-Pointing Angle Quotation Mark", '<'),
|
||||||
('❮', "Heavy Left-Pointing Angle Quotation Mark Ornament", '<'),
|
('❮', "Heavy Left-Pointing Angle Quotation Mark Ornament", '<'),
|
||||||
('˂', "Modifier Letter Left Arrowhead", '<'),
|
('˂', "Modifier Letter Left Arrowhead", '<'),
|
||||||
|
('𝈶', "Greek Instrumental Symbol-40", '<'),
|
||||||
|
('ᐸ', "Canadian Syllabics Pa", '<'),
|
||||||
|
('ᚲ', "Runic Letter Kauna", '<'),
|
||||||
|
('❬', "Medium Left-Pointing Angle Bracket Ornament", '<'),
|
||||||
|
('⟨', "Mathematical Left Angle Bracket", '<'),
|
||||||
|
('〈', "Left-Pointing Angle Bracket", '<'),
|
||||||
('〈', "Left Angle Bracket", '<'),
|
('〈', "Left Angle Bracket", '<'),
|
||||||
|
('㇛', "CJK Stroke Pd", '<'),
|
||||||
|
('く', "Hiragana Letter Ku", '<'),
|
||||||
|
('𡿨', "CJK Unified Ideograph-21FE8", '<'),
|
||||||
('《', "Left Double Angle Bracket", '<'),
|
('《', "Left Double Angle Bracket", '<'),
|
||||||
|
('<', "Fullwidth Less-Than Sign", '<'),
|
||||||
|
|
||||||
|
('᐀', "Canadian Syllabics Hyphen", '='),
|
||||||
|
('⹀', "Double Hyphen", '='),
|
||||||
|
('゠', "Katakana-Hiragana Double Hyphen", '='),
|
||||||
('꓿', "Lisu Punctuation Full Stop", '='),
|
('꓿', "Lisu Punctuation Full Stop", '='),
|
||||||
|
('=', "Fullwidth Equals Sign", '='),
|
||||||
|
|
||||||
('›', "Single Right-Pointing Angle Quotation Mark", '>'),
|
('›', "Single Right-Pointing Angle Quotation Mark", '>'),
|
||||||
('❯', "Heavy Right-Pointing Angle Quotation Mark Ornament", '>'),
|
('❯', "Heavy Right-Pointing Angle Quotation Mark Ornament", '>'),
|
||||||
('˃', "Modifier Letter Right Arrowhead", '>'),
|
('˃', "Modifier Letter Right Arrowhead", '>'),
|
||||||
|
('𝈷', "Greek Instrumental Symbol-42", '>'),
|
||||||
|
('ᐳ', "Canadian Syllabics Po", '>'),
|
||||||
|
('𖼿', "Miao Letter Archaic Zza", '>'),
|
||||||
|
('❭', "Medium Right-Pointing Angle Bracket Ornament", '>'),
|
||||||
|
('⟩', "Mathematical Right Angle Bracket", '>'),
|
||||||
|
('〉', "Right-Pointing Angle Bracket", '>'),
|
||||||
('〉', "Right Angle Bracket", '>'),
|
('〉', "Right Angle Bracket", '>'),
|
||||||
('》', "Right Double Angle Bracket", '>'),
|
('》', "Right Double Angle Bracket", '>'),
|
||||||
('Ⲻ', "Coptic Capital Letter Dialect-P Ni", '-'),
|
('>', "Fullwidth Greater-Than Sign", '>'), ];
|
||||||
('Ɂ', "Latin Capital Letter Glottal Stop", '?'),
|
|
||||||
('Ⳇ', "Coptic Capital Letter Old Coptic Esh", '/'), ];
|
|
||||||
|
|
||||||
const ASCII_ARRAY: &'static [(char, &'static str)] = &[
|
const ASCII_ARRAY: &'static [(char, &'static str)] = &[
|
||||||
(' ', "Space"),
|
(' ', "Space"),
|
||||||
|
Loading…
Reference in New Issue
Block a user