PHP sapi_windows_cp_is_utf8() Function
The PHP sapi_windows_cp_is_utf8() function indicates whether the codepage of the current process is UTF-8 compatible.
Syntax
sapi_windows_cp_is_utf8()
Parameters
No parameter is required.
Return Value
Returns true if the codepage of the current process is UTF-8 compatible, false otherwise.
❮ PHP Miscellaneous Reference