class-Com.Tecnick.Unicode.Convert.Encoding

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

Com\Tecnick\Unicode\Convert\Encoding

Direct known subclasses

Com\Tecnick\Unicode\Convert
Namespace: Com\Tecnick\Unicode\Convert
Package: Unicode
Category: Library
Copyright: 2011-2015 Nicola Asuni - Tecnick.com LTD
License: GNU-LGPL v3 (see LICENSE.TXT)
Author: Nicola Asuni info@tecnick.com
Since: 2015-07-13
Link: https://github.com/tecnickcom/tc-lib-unicode
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-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy