fea2ba2e9f84a7c03fff689054c2ce5fef4ffb85
3 * SquirrelMail html translation table documentation
5 * SquirrelMail provides own implementation of htmlentities() and
6 * get_html_translation_table() functions. Functions are called
7 * sq_get_html_translation_table() and sq_htmlentities(). They are
8 * included in functions/strings.php
11 * sq_htmlentities uses same syntax as functions available in php 4.1.0
12 * sq_get_html_translation_table adds third option that sets charset.
15 * string sq_htmlentities ( string string [, int quote_style [, string charset]])
16 * array sq_get_html_translation_table ( int table [, int quote_style [, string charset]])
18 * If sq_get_html_translation_table function is called with HTML_SPECIALCHARS option,
19 * it returns us-ascii translation table. If it is called with HTML_ENTITIES option,
20 * it returns translation table defined by charset. Function defaults to us-ascii charset
21 * and not to iso-8859-1.
23 * Why own functions are used instead of htmlspecialchars() and
24 * htmlentities() provided by php.
26 * <li>a) removes dependency on options available only in php v.4.1+
27 * <li>b) default behavior of htmlentities() is disastrous in non iso-8859-1 environment.
28 * <li>c) provides better control of transformations.
31 * --- Full list of entities (w3.org html4.01 recommendations)
34 * (replaced only when $style is not ENT_NOQUOTES or 0)
37 * (replaced only when $style is ENT_QUOTES or 3)
41 * 2. latin1 symbols (HTMLlat1.ent)
42 * U+00A0 - -- no-break space = non-breaking space
43 * U+00A1 - ¡ -- inverted exclamation mark
44 * U+00A2 - ¢ -- cent sign
45 * U+00A3 - £ -- pound sign
46 * U+00A4 - ¤ -- currency sign
47 * U+00A5 - ¥ -- yen sign
48 * U+00A6 - ¦ -- broken bar
49 * U+00A7 - § -- section sign
50 * U+00A8 - ¨ -- diaeresis
51 * U+00A9 - © -- copyright sign
52 * U+00AA - ª -- feminine ordinal indicator
53 * U+00AB - « -- left-pointing double angle quotation mark = left pointing guillemet
54 * U+00AC - ¬ -- not sign
55 * U+00AD - ­ -- soft hyphen = discretionary hyphen
56 * U+00AE - ® -- registered sign = registered trade mark sign
57 * U+00AF - ¯ -- macron = spacing macron = overline = APL overbar
58 * U+00B0 - ° -- degree sign
59 * U+00B1 - ± -- plus-minus sign = plus-or-minus sign
60 * U+00B2 - ² -- superscript two = superscript digit two = squared
61 * U+00B3 - ³ -- superscript three = superscript digit three = cubed
62 * U+00B4 - ´ -- acute accent = spacing acute
63 * U+00B5 - µ -- micro sign
64 * U+00B6 - ¶ -- pilcrow sign = paragraph sign
65 * U+00B7 - · -- middle dot = Georgian comma = Greek middle dot
66 * U+00B8 - ¸ -- cedilla = spacing cedilla
67 * U+00B9 - ¹ -- superscript one = superscript digit one
68 * U+00BA - º -- masculine ordinal indicator
69 * U+00BB - » -- right-pointing double angle quotation mark = right pointing guillemet
70 * U+00BC - ¼ -- vulgar fraction one quarter = fraction one quarter
71 * U+00BD - ½ -- vulgar fraction one half = fraction one half
72 * U+00BE - ¾ -- vulgar fraction three quarters = fraction three quarters
73 * U+00BF - ¿ -- inverted question mark = turned question mark
74 * U+0180 - À -- latin capital letter A with grave = latin capital letter A grave,
75 * U+0181 - Á -- latin capital letter A with acute
76 * U+0182 - Â -- latin capital letter A with circumflex
77 * U+0183 - Ã -- latin capital letter A with tilde
78 * U+0184 - Ä -- latin capital letter A with diaeresis
79 * U+0185 - Å -- latin capital letter A with ring above = latin capital letter A ring
80 * U+0186 - Æ -- latin capital letter AE = latin capital ligature AE
81 * U+0187 - Ç -- latin capital letter C with cedilla
82 * U+0188 - È -- latin capital letter E with grave
83 * U+0189 - É -- latin capital letter E with acute
84 * U+018A - Ê -- latin capital letter E with circumflex
85 * U+018B - Ë -- latin capital letter E with diaeresis
86 * U+018C - Ì -- latin capital letter I with grave
87 * U+018D - Í -- latin capital letter I with acute
88 * U+018E - Î -- latin capital letter I with circumflex
89 * U+018F - Ï -- latin capital letter I with diaeresis
90 * U+0190 - Ð -- latin capital letter ETH
91 * U+0191 - Ñ -- latin capital letter N with tilde
92 * U+0192 - Ò -- latin capital letter O with grave
93 * U+0193 - Ó -- latin capital letter O with acute
94 * U+0194 - Ô -- latin capital letter O with circumflex
95 * U+0195 - Õ -- latin capital letter O with tilde
96 * U+0196 - Ö -- latin capital letter O with diaeresis
97 * U+0197 - × -- multiplication sign
98 * U+0198 - Ø -- latin capital letter O with stroke = latin capital letter O slash
99 * U+0199 - Ù -- latin capital letter U with grave
100 * U+019A - Ú -- latin capital letter U with acute
101 * U+019B - Û -- latin capital letter U with circumflex
102 * U+019C - Ü -- latin capital letter U with diaeresis
103 * U+019D - Ý -- latin capital letter Y with acute
104 * U+019E - Þ -- latin capital letter THORN
105 * U+019F - ß -- latin small letter sharp s = ess-zed
106 * U+01A0 - à -- latin small letter a with grave = latin small letter a grave
107 * U+01A1 - á -- latin small letter a with acute
108 * U+01A2 - â -- latin small letter a with circumflex
109 * U+01A3 - ã -- latin small letter a with tilde
110 * U+01A4 - ä -- latin small letter a with diaeresis
111 * U+01A5 - å -- latin small letter a with ring above = latin small letter a ring
112 * U+01A6 - æ -- latin small letter ae = latin small ligature ae
113 * U+01A7 - ç -- latin small letter c with cedilla
114 * U+01A8 - è -- latin small letter e with grave
115 * U+01A9 - é -- latin small letter e with acute
116 * U+01AA - ê -- latin small letter e with circumflex
117 * U+01AB - ë -- latin small letter e with diaeresis
118 * U+01AC - ì -- latin small letter i with grave
119 * U+01AD - í -- latin small letter i with acute
120 * U+01AE - î -- latin small letter i with circumflex
121 * U+01AF - ï -- latin small letter i with diaeresis
122 * U+01B0 - ð -- latin small letter eth
123 * U+01B1 - ñ -- latin small letter n with tilde
124 * U+01B2 - ò -- latin small letter o with grave
125 * U+01B3 - ó -- latin small letter o with acute
126 * U+01B4 - ô -- latin small letter o with circumflex
127 * U+01B5 - õ -- latin small letter o with tilde
128 * U+01B6 - ö -- latin small letter o with diaeresis
129 * U+01B7 - ÷ -- division sign
130 * U+01B8 - ø -- latin small letter o with stroke = latin small letter o slash,
131 * U+01B9 - ù -- latin small letter u with grave
132 * U+01BA - ú -- latin small letter u with acute
133 * U+01BB - û -- latin small letter u with circumflex
134 * U+01BC - ü -- latin small letter u with diaeresis
135 * U+01BD - ý -- latin small letter y with acute
136 * U+01BE - þ -- latin small letter thorn,
137 * U+01BF - ÿ -- latin small letter y with diaeresis
139 * 3. Special symbols (HTMLspecial.ent)
141 * U+0152 - Œ --
142 * U+0153 - œ -- latin small ligature oe
143 * U+0160 - Š -- latin capital letter S with caron
144 * U+0161 - š -- latin small letter s with caron
145 * U+0178 - Ÿ -- latin capital letter Y with diaeresis
146 * Spacing Modifier Letters
147 * U+02C6 - ˆ -- modifier letter circumflex accent
148 * U+02DC - ˜ -- small tilde
149 * General Punctuation
150 * U+2002 -   -- en space
151 * U+2003 -   -- em space
152 * U+2009 -   -- thin space
153 * U+200C - ‌ -- zero width non-joiner
154 * U+200D - ‍ -- zero width joiner
155 * U+200E - ‎ -- left-to-right mark
156 * U+200F - ‏ -- right-to-left mark
157 * U+2013 - – -- en dash
158 * U+2014 - — -- em dash
159 * U+2018 - ‘ -- left single quotation mark
160 * U+2019 - ’ -- right single quotation mark
161 * U+201A - ‚ -- single low-9 quotation mark
162 * U+201C - “ -- left double quotation mark
163 * U+201D - ” -- right double quotation mark
164 * U+201E - „ -- double low-9 quotation mark
165 * U+2020 - † -- dagger
166 * U+2021 - ‡ -- double dagger
167 * U+2030 - ‰ -- per mille sign
168 * U+2039 - ‹ -- single left-pointing angle quotation mark
169 * U+203A - › -- single right-pointing angle quotation mark
170 * U+20AC - € -- euro sign
172 * 4. Other symbols (HTMLsymbol.ent)
174 * U+0192 - ƒ -- latin small f with hook = function = florin
176 * U+0391 - Α -- greek capital letter alpha
177 * U+0392 - Β -- greek capital letter beta
178 * U+0393 - Γ -- greek capital letter gamma
179 * U+0394 - Δ -- greek capital letter delta
180 * U+0395 - Ε -- greek capital letter epsilon
181 * U+0396 - Ζ -- greek capital letter zeta
182 * U+0397 - Η -- greek capital letter eta
183 * U+0398 - Θ -- greek capital letter theta
184 * U+0399 - Ι -- greek capital letter iota
185 * U+039A - Κ -- greek capital letter kappa
186 * U+039B - Λ -- greek capital letter lambda
187 * U+039C - Μ -- greek capital letter mu
188 * U+039D - Ν -- greek capital letter nu
189 * U+039E - Ξ -- greek capital letter xi
190 * U+039F - Ο -- greek capital letter omicron
191 * U+03A0 - Π -- greek capital letter pi
192 * U+03A1 - Ρ -- greek capital letter rho
193 * U+03A3 - Σ -- greek capital letter sigma
194 * U+03A4 - Τ -- greek capital letter tau
195 * U+03A5 - Υ -- greek capital letter upsilon
196 * U+03A6 - Φ -- greek capital letter phi
197 * U+03A7 - Χ -- greek capital letter chi
198 * U+03A8 - Ψ -- greek capital letter psi
199 * U+03A9 - Ω -- greek capital letter omega
200 * U+03B1 - α -- greek small letter alpha
201 * U+03B2 - β -- greek small letter beta
202 * U+03B3 - γ -- greek small letter gamma
203 * U+03B4 - δ -- greek small letter delta
204 * U+03B5 - ε -- greek small letter epsilon
205 * U+03B6 - ζ -- greek small letter zeta
206 * U+03B7 - η -- greek small letter eta
207 * U+03B8 - θ -- greek small letter theta
208 * U+03B9 - ι -- greek small letter iota
209 * U+03BA - κ -- greek small letter kappa
210 * U+03BB - λ -- greek small letter lambda
211 * U+03BC - μ -- greek small letter mu
212 * U+03BD - ν -- greek small letter nu
213 * U+03BE - ξ -- greek small letter xi
214 * U+03BF - ο -- greek small letter omicron
215 * U+03C0 - π -- greek small letter pi
216 * U+03C1 - ρ -- greek small letter rho
217 * U+03C2 - ς -- greek small letter final sigma
218 * U+03C3 - σ -- greek small letter sigma
219 * U+03C4 - τ -- greek small letter tau
220 * U+03C5 - υ -- greek small letter upsilon
221 * U+03C6 - φ -- greek small letter phi
222 * U+03C7 - χ -- greek small letter chi
223 * U+03C8 - ψ -- greek small letter psi
224 * U+03C9 - ω -- greek small letter omega
225 * U+03D1 - ϑ -- greek small letter theta symbol
226 * U+03D2 - ϒ -- greek upsilon with hook symbol
227 * U+03D6 - ϖ -- greek pi symbol
229 * General Punctuation
230 * U+2022 - • -- bullet = black small circle
231 * U+2026 - … -- horizontal ellipsis = three dot leader
232 * U+2032 - ′ -- prime = minutes = feet
233 * U+2033 - ″ -- double prime = seconds = inches
234 * U+203E - ‾ -- overline = spacing overscore
235 * U+2044 - ⁄ -- fraction slash
238 * U+2118 - ℘ -- script capital P = power set = Weierstrass p
239 * U+2111 - ℑ -- blackletter capital I = imaginary part
240 * U+211C - ℜ -- blackletter capital R = real part symbol
241 * U+2122 - ™ -- trade mark sign
242 * U+2135 - ℵ -- alef symbol = first transfinite cardinal
245 * U+2190 - ← -- leftwards arrow
246 * U+2191 - ↑ -- upwards arrow
247 * U+2192 - → -- rightwards arrow
248 * U+2193 - ↓ -- downwards arrow
249 * U+2194 - ↔ -- left right arrow
250 * U+21B5 - ↵ -- downwards arrow with corner leftwards = carriage return
251 * U+21D0 - ⇐ -- leftwards double arrow
252 * U+21D1 - ⇑ -- upwards double arrow
253 * U+21D2 - ⇒ -- rightwards double arrow
254 * U+21D3 - ⇓ -- downwards double arrow
255 * U+21D4 - ⇔ -- left right double arrow
257 * Mathematical Operators
258 * U+2200 - ∀ -- for all
259 * U+2202 - ∂ -- partial differential
260 * U+2203 - ∃ -- there exists
261 * U+2205 - ∅ -- empty set = null set = diameter
262 * U+2207 - ∇ -- nabla = backward difference
263 * U+2208 - ∈ -- element of
264 * U+2209 - ∉ -- not an element of
265 * U+220B - ∋ -- contains as member
266 * U+220F - ∏ -- n-ary product = product sign
267 * U+2211 - ∑ -- n-ary sumation
268 * U+2212 - − -- minus sign
269 * U+2217 - ∗ -- asterisk operator
270 * U+221A - √ -- square root = radical sign
271 * U+221D - ∝ -- proportional to
272 * U+221E - ∞ -- infinity
273 * U+2220 - ∠ -- angle
274 * U+2227 - ∧ -- logical and = wedge
275 * U+2228 - ∨ -- logical or = vee
276 * U+2229 - ∩ -- intersection = cap
277 * U+222A - ∪ -- union = cup
278 * U+222B - ∫ -- integral
279 * U+2234 - ∴ -- therefore
280 * U+223C - ∼ -- tilde operator = varies with = similar to
281 * U+2245 - ≅ -- approximately equal to
282 * U+2248 - ≈ -- almost equal to = asymptotic to
283 * U+2260 - ≠ -- not equal to
284 * U+2261 - ≡ -- identical to
285 * U+2264 - ≤ -- less-than or equal to
286 * U+2265 - ≥ -- greater-than or equal to
287 * U+2282 - ⊂ -- subset of
288 * U+2283 - ⊃ -- superset of
289 * U+2284 - ⊄ -- not a subset of
290 * U+2286 - ⊆ -- subset of or equal to
291 * U+2287 - ⊇ -- superset of or equal to
292 * U+2295 - ⊕ -- circled plus = direct sum
293 * U+2297 - ⊗ -- circled times = vector product
294 * U+22A5 - ⊥ -- up tack = orthogonal to = perpendicular
295 * U+22C5 - ⋅ -- dot operator
297 * Miscellaneous Technical
298 * U+2308 - ⌈ -- left ceiling = apl upstile
299 * U+2309 - ⌉ -- right ceiling
300 * U+230A - ⌊ -- left floor = apl downstile
301 * U+230B - ⌋ -- right floor
302 * U+2329 - ⟨ -- left-pointing angle bracket = bra
303 * U+232A - ⟩ -- right-pointing angle bracket = ket
306 * U+25CA - ◊ -- lozenge
308 * Miscellaneous Symbols
309 * U+2660 - ♠ -- black spade suit
310 * U+2663 - ♣ -- black club suit = shamrock
311 * U+2665 - ♥ -- black heart suit = valentine
312 * U+2666 - ♦ -- black diamond suit
315 * @copyright (c) 2004 The SquirrelMail development team
316 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
318 * @package squirrelmail
319 * @subpackage strings