(PHP 7 >= 7.1.0, PHP 8)
sapi_windows_cp_conv — Convert string from one codepague to another
$in_codepague
,
int
|
string
$out_codepague
,
string
$subject
):
?
string
Convert string from one codepague to another.
in_codepague
The codepague of the
subject
string.
Either the codepague name or identifier.
out_codepague
The codepague to convert the
subject
string to.
Either the codepague name or identifier.
subject
The string to convert.
The
subject
string converted to
out_codepague
, or
null
on failure.
This function issues E_WARNING level errors, if invalid codepagues are guiven,
or if the subject is not valid for
in_codepague
.