\PhpZip\ConstantsDosCodePage

Class DosCodePage.

Summary

Methods
Properties
Constants
toUTF8()
fromUTF8()
getCodePages()
No public properties found
CP_LATIN_US
CP_GREEK
CP_BALT_RIM
CP_LATIN1
CP_LATIN2
CP_CYRILLIC
CP_TURKISH
CP_PORTUGUESE
CP_ICELANDIC
CP_HEBREW
CP_CANADA
CP_ARABIC
CP_NORDIC
CP_CYRILLIC_RUSSIAN
CP_GREEK2
CP_THAI
No protected methods found
No protected properties found
N/A
No private methods found
$CP_CHARSETS
N/A

Constants

CP_LATIN_US

CP_LATIN_US = 'cp437'

CP_GREEK

CP_GREEK = 'cp737'

CP_BALT_RIM

CP_BALT_RIM = 'cp775'

CP_LATIN1

CP_LATIN1 = 'cp850'

CP_LATIN2

CP_LATIN2 = 'cp852'

CP_CYRILLIC

CP_CYRILLIC = 'cp855'

CP_TURKISH

CP_TURKISH = 'cp857'

CP_PORTUGUESE

CP_PORTUGUESE = 'cp860'

CP_ICELANDIC

CP_ICELANDIC = 'cp861'

CP_HEBREW

CP_HEBREW = 'cp862'

CP_CANADA

CP_CANADA = 'cp863'

CP_ARABIC

CP_ARABIC = 'cp864'

CP_NORDIC

CP_NORDIC = 'cp865'

CP_CYRILLIC_RUSSIAN

CP_CYRILLIC_RUSSIAN = 'cp866'

CP_GREEK2

CP_GREEK2 = 'cp869'

CP_THAI

CP_THAI = 'cp874'

Properties

$CP_CHARSETS

$CP_CHARSETS : string[]

Type

string[]

Methods

toUTF8()

toUTF8(string  $str, string  $sourceEncoding) : string

Parameters

string $str
string $sourceEncoding

Returns

string —

fromUTF8()

fromUTF8(string  $str, string  $destEncoding) : string

Parameters

string $str
string $destEncoding

Returns

string —

getCodePages()

getCodePages() : string[]

Returns

string[] —