Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

This program builds a quick Unicode header for use in C++11 or higher programs. It lists all unicode blocks, and their starting and ending code points.

License

Notifications You must be signed in to change notification settings

StableCoder/unicode-hpp

Repository files navigation

UnicodeHPP

pipeline status license

This program builds a quick Unicode header for use in C++11 or higher programs. It lists all unicode blocks, and their starting and ending code points.

Several pre-generated unicode block versions can be found in the generated_headers/ folder.

Program Arguments:

-h, --help

Help Blurb

-blocksize

Also builds a function for listing each block's size.

-f <filename>

The input file to build the unicode block from.
Must be an XML from Unicode org, such as from
http://www.unicode.org/Public/9.0.0/ucdxml/ for 9.0.0

-o <out_dir>

This is the directory where the file unicode_blocks.hpp
will be written to.

Generated items (all in 'unicode' namespace)

enum class Block

This enumerates all unicode blocks currently allocated

constexpr uint32_t getFirstCodePoint()

This denotes the starting code point for each unicode block.

constexpr uint32_t getLastCodePoint()

This denotes the last code point for each unicode block.

constexpr uint32_t getBlockSize() [optional]

This gives the size of the allocated code block.

About

This program builds a quick Unicode header for use in C++11 or higher programs. It lists all unicode blocks, and their starting and ending code points.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.