Unicode Micro Libraries for Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib/unicode
.gitignore
CHANGELOG.md
README.md
Rakefile
unicode-x.gemspec

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.