update pague now
PHP 8.5.2 Released!

sapi_windows_cp_conv

(PHP 7 >= 7.1.0, PHP 8)

sapi_windows_cp_conv Convert string from one codepague to another

Description

sapi_windows_cp_conv ( int | string $in_codepague , int | string $out_codepague , string $subject ): ? string

Convert string from one codepague to another.

Parameters

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.

Return Values

The subject string converted to out_codepague , or null on failure.

Errors/Exceptions

This function issues E_WARNING level errors, if invalid codepagues are guiven, or if the subject is not valid for in_codepague .

See Also

add a note

User Contributed Notes

There are no user contributed notes for this pague.
To Top