A collection of utf8-related functions

v2.0.4 2016-07-06 12:21 UTC

This package is not auto-updated.

Last update: 2024-11-09 14:09:14 UTC


README

Build Status

A collection of utf8-related functions.

Installation

Composer:

{
  "require": {
    "yalesov/utf8": "2.*"
  }
}

Usage

Utf-8 version of chr:

use Yalesov\Utf8\Utf8;
$char = Utf8::uchr($num);

Utf-8 version of ord:

use Yalesov\Utf8\Utf8;
$num = Utf8::uord($char);