<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Les forums de JeBulle.net – Codulles et la gestion des accents]]></title>
	<link rel="self" href="https://forums.jebulle.net/feed/atom/topic/545/" />
	<updated>2006-07-27T08:32:59Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.jebulle.net/topic/545/codulles-et-la-gestion-des-accents/</id>
		<entry>
			<title type="html"><![CDATA[Codulles et la gestion des accents]]></title>
			<link rel="alternate" href="https://forums.jebulle.net/post/6418/#p6418" />
			<content type="html"><![CDATA[<p>Salut à tous,</p><p>Codulle et les accents, c&#039;est pas tout à fait ça...<br />Alors pour les intéressés, je propose la solution suivante :</p><p>geshi.php L.455 :&nbsp; &nbsp;(enlever l&#039;underscore)<br /></p><div class="codebox"><pre><code>if (GESHI_ERROR_NO_SUCH_LANG == $this-&gt;error) {</code></pre></div><p>index.php :<br /></p><div class="codebox"><pre><code>-----------------------------------------------------
200        .$sGrasDebut.str_replace( &#039;_&#039;, &#039; &#039;, $aListeRepProjets[&#039;dir&#039;][$i] )
    200    .$sGrasDebut.htmlentities(str_replace( &#039;_&#039;, &#039; &#039;, $aListeRepProjets[&#039;dir&#039;][$i] ))
-----------------------------------------------------
221        .str_replace( &#039;_&#039;, &#039; &#039;, $aListeSousRep[&#039;dir&#039;][$j] )
    221    .htmlentities(str_replace( &#039;_&#039;, &#039; &#039;, $aListeSousRep[&#039;dir&#039;][$j] ))
-----------------------------------------------------
255        .&#039;&amp;fichier=&#039;.rawurldecode(stripslashes($sLienNiveau1.&#039;/&#039;.$aListeSousRep[&#039;file&#039;][$j])).&#039;&quot;&gt;&#039;
256                                                .str_replace( &#039;_&#039;, &#039; &#039;, $aListeSousRep[&#039;file&#039;][$j] )
    255    .&#039;&amp;fichier=&#039;.rawurlencode(stripslashes($sLienNiveau1.&#039;/&#039;.$aListeSousRep[&#039;file&#039;][$j])).&#039;&quot;&gt;&#039;
    256                                            .htmlentities(str_replace( &#039;_&#039;, &#039; &#039;, $aListeSousRep[&#039;file&#039;][$j] ))
-----------------------------------------------------
275        $sFichierFinal = &#039;&lt;img src=&quot;&#039;.JB_CO_DOSSIER_PROJETS.$sFichier.&#039;&quot; alt=&quot;Image &#039;.$sNomFichier.&#039;&quot; /&gt;&#039;;
    275    $sFichierFinal = &#039;&lt;img src=&quot;&#039;.implode(&quot;/&quot;, array_map(&quot;rawurlencode&quot;, explode(&quot;/&quot;, JB_CO_DOSSIER_PROJETS.$sFichier))).&#039;&quot; alt=&quot;Image &#039;.$sNomFichier.&#039;&quot; /&gt;&#039;;
-----------------------------------------------------
297        else $sHeadTitre = &#039;Codulle : Source de &#039;.$sNomFichier;
    297    else $sHeadTitre = &#039;Codulle : Source de &#039;.htmlentities($sNomFichier);
-----------------------------------------------------
310        .rawurlencode(stripslashes( $sLien )).&#039;&quot;&gt;&#039;.str_replace( &#039;_&#039;, &#039; &#039;, $aDossiers[$i] ).&#039;&lt;/a&gt; &#039;;
    310    .rawurlencode(stripslashes( $sLien )).&#039;&quot;&gt;&#039;.htmlentities(str_replace( &#039;_&#039;, &#039; &#039;, $aDossiers[$i] )).&#039;&lt;/a&gt; &#039;;
-----------------------------------------------------
313        $sAdresse .= &#039; &#039;.$sPuceChemin.&#039; &#039;.str_replace( &#039;_&#039;, &#039; &#039;, $aDossiers[$iNiveau-1] );
    313    $sAdresse .= &#039; &#039;.$sPuceChemin.&#039; &#039;.htmlentities(str_replace( &#039;_&#039;, &#039; &#039;, $aDossiers[$iNiveau-1] ));
-----------------------------------------------------
321        $sNomFichierOuvert = $sNomFichier;
    321    $sNomFichierOuvert = htmlentities($sNomFichier);</code></pre></div><p>a++;</p>]]></content>
			<author>
				<name><![CDATA[Oliv']]></name>
				<uri>https://forums.jebulle.net/user/81/</uri>
			</author>
			<updated>2006-07-27T08:32:59Z</updated>
			<id>https://forums.jebulle.net/post/6418/#p6418</id>
		</entry>
</feed>
