Files
doc-fr/reference/recode/functions/recode-string.xml
David Manusset 7e2ff26d88 typo
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@185848 c90b9560-bf6c-de11-be94-00142212c4b1
2005-05-05 15:51:42 +00:00

61 lines
1.9 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.9 $ -->
<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry id="function.recode-string">
<refnamediv>
<refname>recode_string</refname>
<refpurpose>Recode une chaîne en fonction de la requête</refpurpose>
</refnamediv>
<refsect1>
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>recode_string</methodname>
<methodparam><type>string</type><parameter>request</parameter></methodparam>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
</methodsynopsis>
<para>
<function>recode_string</function> recode la chaîne
<parameter>string</parameter> en fonction de la requête
<parameter>request</parameter>. <function>recode_string</function>
retourne la chaîne recodée en cas de succès et &false; sinon.
</para>
<para>
Une requête simple de recodage peut être &quot;lat1..iso646-de&quot;.
Reportez-vous à la documentation GNU Recode de votre installation
pour plus de détails sur les requêtes.
<example>
<title>Exemple simple avec <function>recode_string</function></title>
<programlisting role="php">
<![CDATA[
<?php
echo recode_string("us..flat", "Le caractère suivant est diacritique : &aacute;");
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->