<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.misc.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.sapi-windows-cp-set.php',
    1 => 'sapi_windows_cp_set',
    2 => 'Set process codepage',
  ),
  'up' => 
  array (
    0 => 'ref.misc.php',
    1 => 'Misc. Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.sapi-windows-cp-is-utf8.php',
    1 => 'sapi_windows_cp_is_utf8',
  ),
  'next' => 
  array (
    0 => 'function.sapi-windows-generate-ctrl-event.php',
    1 => 'sapi_windows_generate_ctrl_event',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/misc/functions/sapi-windows-cp-set.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.sapi-windows-cp-set" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">sapi_windows_cp_set</h1>
  <p class="verinfo">(PHP 7 &gt;= 7.1.0, PHP 8)</p><p class="refpurpose"><span class="refname">sapi_windows_cp_set</span> &mdash; <span class="dc-title">Set process codepage</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.sapi-windows-cp-set-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>sapi_windows_cp_set</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$codepage</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Set the codepage of the current process.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.sapi-windows-cp-set-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <dl>
   
    <dt><code class="parameter">codepage</code></dt>
    <dd>
     <p class="para">
      A codepage identifier.
     </p>
    </dd>
   
  </dl>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.sapi-windows-cp-set-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Restituisce <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> in caso di successo, <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.sapi-windows-cp-set-seealso">
  <h3 class="title">Vedere anche:</h3>
  <ul class="simplelist">
   <li><span class="function"><a href="function.sapi-windows-cp-get.php" class="function" rel="rdfs-seeAlso">sapi_windows_cp_get()</a> - Get current codepage</span></li>
  </ul>
 </div>


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