SetaPDF_Core_Encoding_Symbol Implementation of the SymbolEncoding

File: /SetaPDF/Core/Encoding/Symbol.php

Class hierarchy

Implements

Summary

Static Properties

$table

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


Static Methods

fromUtf16Be()

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

Converts a string from UTF-16BE to SymbolEncoding.

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()

static public array SetaPDF_Core_Encoding_Symbol::getTable ( void )

Returns the encoding table array.

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

See

toUtf16Be()

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

Converts a string from SymbolEncoding 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