Skip to content

Support Unicode Character Blocks #14

@devstein

Description

@devstein

Description

function block(string calldata _char) public pure returns (CharacterBlock) { }

Given a character, or code point, tell me what Unicode character block it is a part of. The simplest implementation is large, hardoced if/else if/else statement on the Unicode code point ranges.

We can use an enum to represent each block.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions