[SPIP][PLUGINS] v3.0-->v3.2
[lhc/web/www.git] / www / ecrire / charsets / html.php
1 <?php
2
3 /**
4 * Déclaration des entités HTML (à completer éventuellement) et leur correspondances
5 * en écriture unicode
6 *
7 * @package SPIP\Core\Charsets
8 **/
9
10 $GLOBALS['CHARSET']['html'] = array(
11 'ldquo' => '&#8220;',
12 'rdquo' => '&#8221;',
13 'bdquo' => '&#8222;',
14 'cent' => '&#162;',
15 'pound' => '&#163;',
16 'curren' => '&#164;',
17 'yen' => '&#165;',
18 'brvbar' => '&#166;',
19 'sect' => '&#167;',
20 'uml' => '&#168;',
21 'ordf' => '&#170;',
22 'laquo' => '&#171;',
23 'lsquo' => '&#8216;',
24 'rsquo' => '&#8217;',
25 'not' => '&#172;',
26 'shy' => '&#173;',
27 'macr' => '&#175;',
28 'deg' => '&#176;',
29 'plusmn' => '&#177;',
30 'sup2' => '&#178;',
31 'sup3' => '&#179;',
32 'acute' => '&#180;',
33 'micro' => '&#181;',
34 'para' => '&#182;',
35 'middot' => '&#183;',
36 'cedil' => '&#184;',
37 'sup1' => '&#185;',
38 'ordm' => '&#186;',
39 'raquo' => '&#187;',
40 'iquest' => '&#191;',
41 'Agrave' => '&#192;',
42 'Aacute' => '&#193;',
43 'Acirc' => '&#194;',
44 'Atilde' => '&#195;',
45 'Auml' => '&#196;',
46 'Aring' => '&#197;',
47 'AElig' => '&#198;',
48 'Ccedil' => '&#199;',
49 'Egrave' => '&#200;',
50 'Eacute' => '&#201;',
51 'Ecirc' => '&#202;',
52 'Euml' => '&#203;',
53 'Igrave' => '&#204;',
54 'Iacute' => '&#205;',
55 'Icirc' => '&#206;',
56 'Iuml' => '&#207;',
57 'ETH' => '&#208;',
58 'Ntilde' => '&#209;',
59 'Ograve' => '&#210;',
60 'Oacute' => '&#211;',
61 'Ocirc' => '&#212;',
62 'Otilde' => '&#213;',
63 'Ouml' => '&#214;',
64 'times' => '&#215;',
65 'Oslash' => '&#216;',
66 'Ugrave' => '&#217;',
67 'Uacute' => '&#218;',
68 'Ucirc' => '&#219;',
69 'Uuml' => '&#220;',
70 'Yacute' => '&#221;',
71 'THORN' => '&#222;',
72 'szlig' => '&#223;',
73 'agrave' => '&#224;',
74 'Scaron' => '&#352;',
75 'scaron' => '&#353;',
76 'zcaron' => '&#x17E;',
77 'Zcaron' => '&#x17D;',
78 'aacute' => '&#225;',
79 'acirc' => '&#226;',
80 'atilde' => '&#227;',
81 'auml' => '&#228;',
82 'aring' => '&#229;',
83 'aelig' => '&#230;',
84 'ccedil' => '&#231;',
85 'egrave' => '&#232;',
86 'eacute' => '&#233;',
87 'ecirc' => '&#234;',
88 'euml' => '&#235;',
89 'igrave' => '&#236;',
90 'iacute' => '&#237;',
91 'icirc' => '&#238;',
92 'iuml' => '&#239;',
93 'eth' => '&#240;',
94 'ntilde' => '&#241;',
95 'ograve' => '&#242;',
96 'oacute' => '&#243;',
97 'ocirc' => '&#244;',
98 'otilde' => '&#245;',
99 'ouml' => '&#246;',
100 'divide' => '&#247;',
101 'oslash' => '&#248;',
102 'ugrave' => '&#249;',
103 'uacute' => '&#250;',
104 'ucirc' => '&#251;',
105 'uuml' => '&#252;',
106 'yacute' => '&#253;',
107 'thorn' => '&#254;',
108 'nbsp' => ' ',
109 'thinsp' => '&#8201;',
110 'ensp' => '&#8194;',
111 'emsp' => '&#8195;',
112 'copy' => '(c)',
113 'reg' => '(r)',
114 'frac14' => '1/4',
115 'frac12' => '1/2',
116 'frac34' => '3/4',
117 'apos' => "'",
118 'mdash' => '&#8212;',
119 'ndash' => '&#8211;',
120 'hellip' => '&#8230;',
121 'euro' => '&#8364;',
122 'OElig' => '&#338;',
123 'oelig' => '&#339;',
124 'iexcl' => '&#161;'
125
126 );
127
128 ## caracteres tres speciaux a ne pas convertir
129 #'amp' => '&', 'quot' => '"', 'lt' => '<', 'gt' => '>',
130 ;