PHP code example of tecnickcom / tc-lib-unicode-data

1. Go to this page and download the library: Download tecnickcom/tc-lib-unicode-data library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

tecnickcom / tc-lib-unicode-data example snippets




\Com\Tecnick\Unicode\Data\Type::getType(0x05D0);          // R
echo \Com\Tecnick\Unicode\Data\Arabic::getJoiningType(0x0628); // D
echo \Com\Tecnick\Unicode\Data\Encoding::MAP['cp1252'][128];   // Euro