<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.imap.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'fr',
  ),
  'this' => 
  array (
    0 => 'function.imap-utf7-encode.php',
    1 => 'imap_utf7_encode',
    2 => 'Convertit une cha&icirc;ne ISO-8859-1 en texte UTF-7 modifi&eacute;',
  ),
  'up' => 
  array (
    0 => 'ref.imap.php',
    1 => 'Fonctions IMAP',
  ),
  'prev' => 
  array (
    0 => 'function.imap-utf7-decode.php',
    1 => 'imap_utf7_decode',
  ),
  'next' => 
  array (
    0 => 'function.imap-utf8.php',
    1 => 'imap_utf8',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'fr',
    'path' => 'reference/imap/functions/imap-utf7-encode.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.imap-utf7-encode" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">imap_utf7_encode</h1>
  <p class="verinfo">(PHP 4, PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">imap_utf7_encode</span> &mdash; <span class="dc-title">Convertit une chaîne ISO-8859-1 en texte UTF-7 modifié</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.imap-utf7-encode-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>imap_utf7_encode</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$string</code></span>): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

  <p class="para rdfs-comment">
   Convertit une chaîne <code class="parameter">string</code>
   ISO-8859-1 en texte UTF-7 modifié.
  </p>
  <p class="para">
   Cette fonction sert à encoder les noms de boîtes aux lettres qui
   contiennent des caractères internationaux hors de l&#039;espace ASCII.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.imap-utf7-encode-parameters">
  <h3 class="title">Liste de paramètres</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">string</code></dt>
     <dd>
      <p class="para">
       Une <a href="language.types.string.php" class="link">chaîne de caractères</a> ISO-8859-1.
      </p>
     </dd>
    
   </dl>
  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.imap-utf7-encode-returnvalues">
  <h3 class="title">Valeurs de retour</h3>
  <p class="para">
   Retourne les données <code class="parameter">string</code> encodées
   avec l&#039;encodage UTF-7 modifié tel que défini dans la <a href="https://datatracker.ietf.org/doc/html/rfc2060" class="link external">&raquo;&nbsp;RFC 2060</a>, section 5.1.3.
  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.imap-utf7-encode-seealso">
  <h3 class="title">Voir aussi</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.imap-utf7-decode.php" class="function" rel="rdfs-seeAlso">imap_utf7_decode()</a> - D&eacute;code une cha&icirc;ne encod&eacute;e en UTF-7 modifi&eacute;</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>