array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'fr', ), 'this' => array ( 0 => 'function.sapi-windows-cp-conv.php', 1 => 'sapi_windows_cp_conv', ), 'up' => array ( 0 => 'ref.misc.php', 1 => 'Fonctions diverses', ), 'prev' => array ( 0 => 'function.php-strip-whitespace.php', 1 => 'php_strip_whitespace', ), 'next' => array ( 0 => 'function.sapi-windows-cp-get.php', 1 => 'sapi_windows_cp_get', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/misc/functions/sapi-windows-cp-conv.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_conv — Convert string from one codepage to another
Convert string from one codepage to another.
in_codepage
The codepage of the subject
string.
Either the codepage name or identifier.
out_codepage
The codepage to convert the subject
string to.
Either the codepage name or identifier.
subject
The string to convert.
The subject
string converted to
out_codepage
, or null
on failure.
This function issues E_WARNING level errors, if invalid codepages are given,
or if the subject is not valid for in_codepage
.