Unicode X is a collection of choose-what-you-need style Unicode libraries for Ruby.
| Library | Info |
|---|---|
| unicode-blocks | Data about blocks |
| unicode-categories | Data about general categories |
| unicode-confusable | Detect confusable characters |
| unicode-emoji | Emoji list and regex |
| unicode-display_width | Monospace character width |
| unicode-name | Codepoint names and labels |
| unicode-numeric_value | Retrieve values of numerical codepoints |
| unicode-scripts | Data about scripts / script extensions |
| unicode-sequence_name | Names of codepoint sequences |
| unicode-types | Basic type of codepoints |
You can get all by libraries at once by adding to your Gemfile:
gem 'unicode-x'Beginning with version 11, Unicode::X's major version is synced to Unicode's. It will require the latest version of the micro libraries that come with the specified Unicode version.
- Introduction to Unicode in Ruby (blog post)
- unicode_normalize: Unicode normalization included in standard library