PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

HaruEncoder::getUnicode

(PECL haru >= 0.0.1)

HaruEncoder::getUnicodeConvert the specified character to unicode

说明

HaruEncoder::getUnicode ( int $character ) : int

Converts the specified character to unicode.

参数

character

The character code to convert.

返回值

错误/异常

发生错误时抛出 HaruException 异常。