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 异常。

关注编程学问公众号