Commit | Line | Data |
---|---|---|
c495c100 P |
1 | <?php |
2 | ||
3 | // entites html (a completer eventuellement) | |
4 | ||
5 | $GLOBALS['CHARSET']['html'] = array ( | |
6 | 'ldquo'=>'“', 'rdquo'=>'”', 'cent'=>'¢', 'pound'=>'£', | |
7 | 'curren'=>'¤', 'yen'=>'¥', 'brvbar'=>'¦', 'sect'=>'§', | |
8 | 'uml'=>'¨', 'ordf'=>'ª', 'laquo'=>'«', 'not'=>'¬', | |
9 | 'shy'=>'­', 'macr'=>'¯', 'deg'=>'°', 'plusmn'=>'±', | |
10 | 'sup2'=>'²', 'sup3'=>'³', 'acute'=>'´', 'micro'=>'µ', | |
11 | 'para'=>'¶', 'middot'=>'·', 'cedil'=>'¸', 'sup1'=>'¹', | |
12 | 'ordm'=>'º', 'raquo'=>'»', 'iquest'=>'¿', 'Agrave'=>'À', | |
13 | 'Aacute'=>'Á', 'Acirc'=>'Â', 'Atilde'=>'Ã', 'Auml'=>'Ä', | |
14 | 'Aring'=>'Å', 'AElig'=>'Æ', 'Ccedil'=>'Ç', 'Egrave'=>'È', | |
15 | 'Eacute'=>'É', 'Ecirc'=>'Ê', 'Euml'=>'Ë', 'Igrave'=>'Ì', | |
16 | 'Iacute'=>'Í', 'Icirc'=>'Î', 'Iuml'=>'Ï', 'ETH'=>'Ð', | |
17 | 'Ntilde'=>'Ñ', 'Ograve'=>'Ò', 'Oacute'=>'Ó', 'Ocirc'=>'Ô', | |
18 | 'Otilde'=>'Õ', 'Ouml'=>'Ö', 'times'=>'×', 'Oslash'=>'Ø', | |
19 | 'Ugrave'=>'Ù', 'Uacute'=>'Ú', 'Ucirc'=>'Û', 'Uuml'=>'Ü', | |
20 | 'Yacute'=>'Ý', 'THORN'=>'Þ', 'szlig'=>'ß', 'agrave'=>'à', | |
21 | 'aacute'=>'á', 'acirc'=>'â', 'atilde'=>'ã', 'auml'=>'ä', | |
22 | 'aring'=>'å', 'aelig'=>'æ', 'ccedil'=>'ç', 'egrave'=>'è', | |
23 | 'eacute'=>'é', 'ecirc'=>'ê', 'euml'=>'ë', 'igrave'=>'ì', | |
24 | 'iacute'=>'í', 'icirc'=>'î', 'iuml'=>'ï', 'eth'=>'ð', | |
25 | 'ntilde'=>'ñ', 'ograve'=>'ò', 'oacute'=>'ó', 'ocirc'=>'ô', | |
26 | 'otilde'=>'õ', 'ouml'=>'ö', 'divide'=>'÷', 'oslash'=>'ø', | |
27 | 'ugrave'=>'ù', 'uacute'=>'ú', 'ucirc'=>'û', 'uuml'=>'ü', | |
28 | 'yacute'=>'ý', 'thorn'=>'þ', 'nbsp' => " ", 'copy' => "(c)", | |
29 | 'reg' => "(r)", 'frac14' => "1/4", 'frac12' => "1/2", 'frac34' => "3/4", | |
30 | 'apos' => "'", 'mdash' => '—', 'ndash' => '–', | |
31 | 'euro' => '€', 'OElig' => 'Œ', 'oelig' => 'œ','iexcl' => '¡' | |
32 | ||
33 | ); | |
34 | ||
35 | ## caracteres tres speciaux a ne pas convertir | |
36 | #'amp' => '&', 'quot' => '"', 'lt' => '<', 'gt' => '>', | |
37 | ||
38 | ?> |