Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A collection of utf8-related functions.
tree: 9e79c4da80

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
src/Heartsentwined/Utf8
test
.gitignore
.travis.yml
README.md
composer.json

README.md

Heartsentwined\Utf8

Build Status

A collection of utf8-related functions.

Installation

Composer:

{
    "require": {
        "heartsentwined/utf8": "1.*"
    }
}

Usage

Utf-8 version of chr:

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

Utf-8 version of ord:

use Heartsentwined\Utf8\Utf8;
$num = Utf8::uord($char);
Something went wrong with that request. Please try again.