Unicode Micro Libraries for Ruby
Ruby
Switch branches/tags
Clone or download
Latest commit 6706f78 Feb 19, 2018

README.md

Unicode::X [version]

A collection of specific micro libraries providing data and algorithms that might be handy when working with Unicode characters in Ruby:

Library Info
unicode-blocks Blocks
unicode-categories General Categories
unicode-confusable Confusable detection
unicode-emoji Emoji data and regex
unicode-display_width Monospace character width
unicode-name Unicode codepoint name/alias/label
unicode_normalize Unicode normalization (from stdlib)
unicode-numeric_value Convert a Unicode character into its numeric value
unicode-scripts Scripts and Script_Extensions
unicode-sequence_name Codepoint sequence names
unicode-types Basic codepoint types

Setup

Add to Gemfile:

gem 'unicode-x'

All gems can also be installed standalone, if you only need certain features. The Unicode index data in most of the gems is generated using unicoder.