CodePage
in package
Table of Contents
Constants
- DEFAULT_CODE_PAGE = 'CP1252'
Methods
- getEncodings() : array<int, array<int, string>|string>
- numberToName() : string
- Convert Microsoft Code Page Identifier to Code Page Name which iconv and mbstring understands.
- validate() : bool
Constants
DEFAULT_CODE_PAGE
public
mixed
DEFAULT_CODE_PAGE
= 'CP1252'
Methods
getEncodings()
public
static getEncodings() : array<int, array<int, string>|string>
Return values
array<int, array<int, string>|string>numberToName()
Convert Microsoft Code Page Identifier to Code Page Name which iconv and mbstring understands.
public
static numberToName(int $codePage) : string
Parameters
- $codePage : int
-
Microsoft Code Page Indentifier
Return values
string —Code Page Name
validate()
public
static validate(string $codePage) : bool
Parameters
- $codePage : string