crlt/unicode-utf8

transform unicode to utf8

Maintainers

Package info

github.com/NearXdu/unicode-utf8

pkg:composer/crlt/unicode-utf8

Statistics

Installs: 17

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.1 2018-04-25 08:11 UTC

This package is not auto-updated.

Last update: 2026-03-15 13:47:49 UTC


README

This tools solve the problem when target string is like "head\u4f60\u597d\u4e16\u754ctail"

Install

composer require crlt/unicode-utf8

Usage

<?php
require_once "vendor/autoload.php";

$test = new Crlt\Tools\Unicode2Utf();
echo $test->Transform("head\u4f60\u597d\u4e16\u754ctail");

License

MIT