Sha256: d5c16ef93f0834ff659732ff1fff2a3e54ebf73ed517acbf8c3f355a344a22c1
Contents?: true
Size: 1.56 KB
Versions: 1
Compression:
Stored size: 1.56 KB
Contents
# Unicode::SequenceName [![[version]](https://badge.fury.io/rb/unicode-sequence_name.svg)](https://badge.fury.io/rb/unicode-sequence_name) [![[travis]](https://travis-ci.org/janlelis/unicode-sequence_name.png)](https://travis-ci.org/janlelis/unicode-sequence_name) Returns the name of a Unicode codepoint sequence, if one exists. Unicode / Emoji version: **13.0** / **13.0** (March 2020 / January 2020) Supported Rubies: **2.7**, **2.6**, **2.5**, **2.4** Old Rubies which might still work: **2.3**, **2.2**, **2.1**, **2.0** ## Usage ```ruby require "unicode/sequence_name" Unicode::SequenceName.of "‼︎" # => "DOUBLE EXCLAMATION MARK (text style)" Unicode::SequenceName.of "㓟︀" # => "CJK COMPATIBILITY IDEOGRAPH-2F81F" Unicode::SequenceName.of "င︀" # => "MYANMAR LETTER NGA (dotted form)" Unicode::SequenceName.of "நி" # => "TAMIL SYLLABLE NI" Unicode::SequenceName.of "🇺🇳" # => "Flag: UNITED NATIONS" Unicode::SequenceName.of "🏴" # => "SCOTLAND" Unicode::SequenceName.of "🧑🦱" # => "PERSON: CURLY HAIR" ``` Names for singular codepoints are not included, you can use [unicode-name](https://github.com/janlelis/unicode-name) for that purpose. ## Also See - [uniscribe](https://github.com/janlelis/uniscribe) - cli utility that makes use of unicode_sequence-name - [unicode-x](https://github.com/janlelis/unicode-x) - more Unicode related micro libraries ## MIT License - Copyright (C) 2017-2020 Jan Lelis <https://janlelis.com>. Released under the MIT license. - Unicode data: https://www.unicode.org/copyright.html#Exhibit1
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unicode-sequence_name-1.7.0 | README.md |