SetaPDF_Core_Encoding_MacExpert Implementation of the MacExpertEncoding

File: /SetaPDF v2/Core/Encoding/MacExpert.php

Class hierarchy

Implements

Summary

Static Properties

$table

static public SetaPDF_Core_Encoding_MacExpert::$table = array(...)


Static Methods

fromUtf16Be()

public static SetaPDF_Core_Encoding_MacExpert::fromUtf16Be (
string $string [, boolean $ignore = false [, boolean $translit = false ]]
): string

Converts a string from UTF-16BE to MacExpertEncoding.

Parameters
$string : string

The input string

$ignore : boolean

Characters that cannot be represented in the target charset are silently discarded

$translit : boolean

Transliteration activated

getTable()

public static SetaPDF_Core_Encoding_MacExpert::getTable (
void
): array

Returns the encoding table array.

Keys are the unicode values while the values are the code points in the specific encoding.

See

toUtf16Be()

public static SetaPDF_Core_Encoding_MacExpert::toUtf16Be (
string $string [, boolean $ignore = false [, boolean $translit = false ]]
): string

Converts a string from MacExpertEncoding to UTF-16BE.

Parameters
$string : string

The input string

$ignore : boolean

Characters that cannot be represented in the target charset are silently discarded

$translit : boolean

Transliteration activated