Sha256: bd83256066f94c1d26740db02becd2eb7c4a184d36f28d4d44be9ff70d2b95e5

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

# Unicode::SequenceName [![[version]](https://badge.fury.io/rb/unicode-sequence_name.svg)](http://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 name of a Unicode codepoint sequence, if one exists.

Unicode version: **9.0.0**

Emoji version: **5.0**

Supported Rubies: **2.4**, **2.3**, **2.2**, **2.1**

## Usage

```ruby
require "unicode/sequence_name"

# 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 "🇺🇳" # => "UNITED NATIONS"
Unicode::SequenceName.of "🏴󠁧󠁢󠁳󠁣󠁴󠁿" # => "SCOTLAND"
```

## Also See

- [uniscribe](https://github.com/janlelis/unicode-x) - cli utility that makes use of unicode-sequence-name
- [unicode-name](https://github.com/janlelis/unicode-name) - single codepoint names
- [unicode-x](https://github.com/janlelis/unicode-x) - more Unicode related micro libraries

## MIT License

- Copyright (C) 2017 Jan Lelis <http://janlelis.com>. Released under the MIT license.
- Unicode data: http://www.unicode.org/copyright.html#Exhibit1

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
unicode-sequence_name-1.0.0 README.md