X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fcharsets%2Fhtml.php;fp=www%2Fecrire%2Fcharsets%2Fhtml.php;h=0a89e88337cca087a6f5581d02b024d2464e438b;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/ecrire/charsets/html.php b/www/ecrire/charsets/html.php new file mode 100644 index 0000000..0a89e88 --- /dev/null +++ b/www/ecrire/charsets/html.php @@ -0,0 +1,39 @@ +'“', 'rdquo'=>'”', 'bdquo'=>'„', 'cent'=>'¢', 'pound'=>'£', +'curren'=>'¤', 'yen'=>'¥', 'brvbar'=>'¦', 'sect'=>'§', +'uml'=>'¨', 'ordf'=>'ª', 'laquo'=>'«', 'lsquo'=>'‘', 'rsquo'=>'’', 'not'=>'¬', +'shy'=>'­', 'macr'=>'¯', 'deg'=>'°', 'plusmn'=>'±', +'sup2'=>'²', 'sup3'=>'³', 'acute'=>'´', 'micro'=>'µ', +'para'=>'¶', 'middot'=>'·', 'cedil'=>'¸', 'sup1'=>'¹', +'ordm'=>'º', 'raquo'=>'»', 'iquest'=>'¿', 'Agrave'=>'À', +'Aacute'=>'Á', 'Acirc'=>'Â', 'Atilde'=>'Ã', 'Auml'=>'Ä', +'Aring'=>'Å', 'AElig'=>'Æ', 'Ccedil'=>'Ç', 'Egrave'=>'È', +'Eacute'=>'É', 'Ecirc'=>'Ê', 'Euml'=>'Ë', 'Igrave'=>'Ì', +'Iacute'=>'Í', 'Icirc'=>'Î', 'Iuml'=>'Ï', 'ETH'=>'Ð', +'Ntilde'=>'Ñ', 'Ograve'=>'Ò', 'Oacute'=>'Ó', 'Ocirc'=>'Ô', +'Otilde'=>'Õ', 'Ouml'=>'Ö', 'times'=>'×', 'Oslash'=>'Ø', +'Ugrave'=>'Ù', 'Uacute'=>'Ú', 'Ucirc'=>'Û', 'Uuml'=>'Ü', +'Yacute'=>'Ý', 'THORN'=>'Þ', 'szlig'=>'ß', 'agrave'=>'à', +'Scaron'=>'Š', 'scaron'=>'š', 'zcaron'=>'ž', 'Zcaron'=>'Ž', +'aacute'=>'á', 'acirc'=>'â', 'atilde'=>'ã', 'auml'=>'ä', +'aring'=>'å', 'aelig'=>'æ', 'ccedil'=>'ç', 'egrave'=>'è', +'eacute'=>'é', 'ecirc'=>'ê', 'euml'=>'ë', 'igrave'=>'ì', +'iacute'=>'í', 'icirc'=>'î', 'iuml'=>'ï', 'eth'=>'ð', +'ntilde'=>'ñ', 'ograve'=>'ò', 'oacute'=>'ó', 'ocirc'=>'ô', +'otilde'=>'õ', 'ouml'=>'ö', 'divide'=>'÷', 'oslash'=>'ø', +'ugrave'=>'ù', 'uacute'=>'ú', 'ucirc'=>'û', 'uuml'=>'ü', +'yacute'=>'ý', 'thorn'=>'þ', 'nbsp' => " ", 'thinsp' =>' ', 'ensp' =>' ', 'emsp' =>' ', 'copy' => "(c)", +'reg' => "(r)", 'frac14' => "1/4", 'frac12' => "1/2", 'frac34' => "3/4", +'apos' => "'", 'mdash' => '—', 'ndash' => '–', 'hellip' =>'…', +'euro' => '€', 'OElig' => 'Œ', 'oelig' => 'œ','iexcl' => '¡' + +); + +## caracteres tres speciaux a ne pas convertir +#'amp' => '&', 'quot' => '"', 'lt' => '<', 'gt' => '>', + +?>