It appears that you are using AdBlocking software. The cost of running this website is covered by advertisements. If you like it please feel free to a small amount of money to secure the future of this website.

Class Encoding


Direct known subclasses

Namespace: Com\Tecnick\Unicode\Convert
Package: Unicode
Category: Library
Copyright: 2011-2015 Nicola Asuni - LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni [email protected]
Since: 2015-07-13
Located at Convert/Encoding.php
Methods summary
public array
# uniArrToLatinArr( array $ordarr )

Converts UTF-8 code array to Latin1 codes

public string
# latinArrToStr( array $latarr )

Converts an array of Latin1 code points to a string

public string
# strToHex( string $str )

Convert a string to an hexadecimal string (byte string) representation (as in the PDF standard)

public string
# hexToStr( $hex )

Convert an hexadecimal string (byte string - as in the PDF standard) to string

public string
# toUTF8( string $str, mixed $enc = null )

Converts a string with an unknown encoding to UTF-8

public string
# toUTF16BE( string $str )

Converts an UTF-8 string to UTF-16BE


? 2004-2019 – Nicola Asuni - - All rights reserved.
about - disclaimer - privacy