vtils

Home > utils > codepointToCharacter

codepointToCharacter() function

Unicode 码点转为 UTF8 字符。

Signature:

export declare function codepointToCharacter(codepoint: string): string;

Parameters

Parameter Type Description
codepoint string 码点,支持以 - 分割多个码点

Returns:

string