forked from h4cc/slugger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
replacements.exs
129 lines (106 loc) · 8.15 KB
/
replacements.exs
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
[
# This file was generated from these two files:
# https://github.com/easybook/slugger/blob/master/src/Easybook/Slugger.php
# https://github.com/keyvanakbary/slugifier/blob/master/src/Slugifier.php
# https://github.com/simov/slugify/blob/master/lib/slugify.js
# Latin
{?°, '0'},{?æ, 'ae'},{?ǽ, 'ae'},{?À, 'A'},{?Á, 'A'},{?Â, 'A'},{?Ã, 'A'},{?Å, 'AA'},{?Ǻ, 'A'},{?Ă, 'A'},
{?Ǎ, 'A'},{?Æ, 'AE'},{?Ǽ, 'AE'},{?à, 'a'},{?á, 'a'},{?â, 'a'},{?ã, 'a'},{?å, 'aa'},{?ǻ, 'a'},{?ă, 'a'},
{?ǎ, 'a'},{?ª, 'a'},{?@, 'at'},{?Ĉ, 'C'},{?Ċ, 'C'},{?ĉ, 'c'},{?ċ, 'c'},{?Ð, 'D'},{?Đ, 'D'},{?ó, 'o'},
{?ð, 'd'},{?đ, 'd'},{?È, 'E'},{?É, 'E'},{?Ê, 'E'},{?Ë, 'E'},{?Ĕ, 'E'},{?Ė, 'E'},{?è, 'e'},{?é, 'e'},
{?ê, 'e'},{?ë, 'e'},{?ĕ, 'e'},{?ė, 'e'},{?ƒ, 'f'},{?Ĝ, 'G'},{?Ġ, 'G'},{?ĝ, 'g'},{?ġ, 'g'},{?Ĥ, 'H'},
{?Ħ, 'H'},{?ĥ, 'h'},{?ħ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?Ỵ, 'Y'},{?Ỷ, 'Y'},{?Ỹ, 'Y'},
# Other
{?¹, '1'},{?², '2'},{?³, '3'},{?¶, 'P'},
# Currency
{?€, 'euro'},{?₢, 'cruzeiro'},{?₣, 'frenchfranc'},{?£, 'pound'},
{?₤, 'lira'},{?₥, 'mill'},{?₦, 'naira'},{?₧, 'peseta'},{?₨, 'rupee'},
{?₩, 'won'},{?₪, 'newshequel'},{?₫, 'dong'},{?₭, 'kip'},{?₮, 'tugrik'},
{?₯, 'drachma'},{?₰, 'penny'},{?₱, 'peso'},{?₲, 'guarani'},{?₳, 'austral'},
{?₴, 'hryvnia'},{?₵, 'cedi'},{?¢, 'cent'},{?¥, 'yen'},{?元, 'yuan'},
{?円, 'yen'},{?﷼, 'rial'},{?₠, 'ecu'},{?¤, 'currency'},{?฿, 'baht'},
{?$, 'dollar'},{?Ƀ, 'bitcoin'},{?₹, 'indianrupee'},
# Symbols
{?©, 'copyright'},{?∑, 'sum'},{?®, 'registered'},{?†, '+'},
{?“, '"'},{?”, '"'},{?‘, '\''},{?’, '\''},{?∂, 'd'},{?™, 'tm'},
{?℠, 'sm'},{?…, '...'},{?˚, 'o'},{?º, 'o'},{?ª, 'a'},{?•, '*'},
{?∆, 'delta'},{?∞, 'infinity'},{?♥, 'love'},{?&, 'and'},{?|, 'or'},
{?<, 'less'},{?>, 'greater'},{?☢, 'radioactive'},{?♥, 'love'}
]