-
Notifications
You must be signed in to change notification settings - Fork 1
/
homoglyphs.go
99 lines (98 loc) · 2.83 KB
/
homoglyphs.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
package tweg
// Homoglyphs is the list of the available homoglyphs (hexa code) for a character.
var Homoglyphs = map[string][]string{
"!": []string{"FF01"},
"\"": []string{"FF02"},
"$": []string{"FF04"},
"%": []string{"FF05"},
"&": []string{"FF06"},
"'": []string{"FF07"},
"(": []string{"FF08"},
")": []string{"FF09"},
"*": []string{"FF0A"},
"+": []string{"FF0B"},
",": []string{"FF0C"},
"-": []string{"FF0D"},
".": []string{"FF0E"},
"/": []string{"FF0F"},
"0": []string{"FF10"},
"1": []string{"FF11"},
"2": []string{"FF12"},
"3": []string{"FF13"},
"4": []string{"FF14"},
"5": []string{"FF15"},
"6": []string{"FF16"},
"7": []string{"FF17"},
"8": []string{"FF18"},
"9": []string{"FF19"},
":": []string{"FF1A"},
";": []string{"FF1B"},
"<": []string{"FF1C"},
"=": []string{"FF1D"},
">": []string{"FF1E"},
"?": []string{"FF1F"},
"@": []string{"FF20"},
"A": []string{"FF21", "0391", "0410"},
"B": []string{"FF22", "0392", "0412"},
"C": []string{"FF23", "03F9", "216D"},
"D": []string{"FF24"},
"E": []string{"FF25", "0395", "0415"},
"F": []string{"FF26"},
"G": []string{"FF27"},
"H": []string{"FF28", "0397", "041D"},
"I": []string{"FF29", "0399", "0406"},
"J": []string{"FF2A"},
"K": []string{"FF2B", "039A", "212A"},
"L": []string{"FF2C"},
"M": []string{"FF2D", "039C", "041C"},
"N": []string{"FF2E"},
"O": []string{"FF2F", "039F", "041E"},
"P": []string{"FF30", "03A1", "0420"},
"Q": []string{"FF31"},
"R": []string{"FF32"},
"S": []string{"FF33"},
"T": []string{"FF34", "03A4", "0422"},
"U": []string{"FF35"},
"V": []string{"FF36", "0474", "2164"},
"W": []string{"FF37"},
"X": []string{"FF38", "03A7", "2169"},
"Y": []string{"FF39", "03A5", "04AE"},
"Z": []string{"FF3A"},
"[": []string{"FF3B"},
"\\": []string{"FF3C"},
"]": []string{"FF3D"},
"^": []string{"FF3E"},
"_": []string{"FF3F"},
"`": []string{"FF40"},
"a": []string{"FF41"},
"b": []string{"FF42"},
"c": []string{"FF43", "03F2", "0441"},
"d": []string{"FF44"},
"e": []string{"FF45"},
"f": []string{"FF46"},
"g": []string{"FF47"},
"h": []string{"FF48"},
"i": []string{"FF49", "0456", "2170"},
"j": []string{"FF4A"},
"k": []string{"FF4B"},
"l": []string{"FF4C"},
"m": []string{"FF4D"},
"n": []string{"FF4E"},
"o": []string{"FF4F", "03BF", "043E"},
"p": []string{"FF50"},
"q": []string{"FF51"},
"r": []string{"FF52"},
"s": []string{"FF53"},
"t": []string{"FF54"},
"u": []string{"FF55"},
"v": []string{"FF56", "03BD", "2174"},
"w": []string{"FF57"},
"x": []string{"FF58", "0445", "2179"},
"y": []string{"FF59"},
"z": []string{"FF5A"},
"{": []string{"FF5B"},
"|": []string{"FF5C"},
"}": []string{"FF5D"},
"~": []string{"FF5E"},
" ": []string{"2000", "2001", "2002", "2003", "2004", "2005", "2006", "2007", "2008", "2009", "200A", "2028", "2029", "202F", "205F"},
}