class-Com.Tecnick.Unicode.Convert

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 Convert

Com\Tecnick\Unicode\Convert

Com\Tecnick\Unicode\Convert\Encoding
Extended by Com\Tecnick\Unicode\Convert
Namespace: Com\Tecnick\Unicode
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.php
Methods summary
public string
# chr( integer $ord )

Returns the unicode string containing the character specified by value

public string
# ord( string $chr )

Returns the unicode value of the specified character

public array
# strToChrArr( string $str )

Converts an UTF-8 string to an array of UTF-8 codepoints (integer values)

public array
# chrArrToOrdArr( array $chars )

Converts an array of UTF-8 chars to an array of codepoints (integer values)

public array
# ordArrToChrArr( array $ords )

Converts an array of UTF-8 code points array of chars

public array
# strToOrdArr( string $str )

Converts an UTF-8 string to an array of UTF-8 codepoints (integer values)

public string
# getSubUniArrStr( array $uniarr, integer $start = 0, integer $end = null )

Extract a slice of the $uniarr array and return it as string

Methods inherited from Com\Tecnick\Unicode\Convert\Encoding
hexToStr(), latinArrToStr(), strToHex(), toUTF16BE(), toUTF8(), uniArrToLatinArr()
 

© 2004-2017 – Nicola Asuni - Tecnick.com - All rights reserved.
about - disclaimer - privacy