

Idiosyncratic Ruby: Unicode Version Mapping
source link: https://idiosyncratic-ruby.com/73-unicode-version-mapping.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

The Ruby core team cares a lot about Unicode, and this is why we have pretty good Unicode support in the language.
Even though the Unicode standard evolves constantly - it gets updated at least once a year - Ruby's Unicode support is often only a little bit behind the current version of Unicode. The following tables list which Ruby version supports which version of Unicode / Emoji:
Ruby / Unicode
Ruby Version Unicode Version 2.7 12.1.0 2.6.3+ 12.1.0¹ 2.6.2 12.0.0 2.6.1- 11.0.0 2.5 10.0.0 2.4 9.0.0 2.3 8.0.0 2.2 7.0.0 2.1 6.1.0 2.0 6.1.0 1.9 5.2.0
¹ Unicode 12.1 introduced a single character
Starting with Ruby 2.4, you can find out your Ruby version's Unicode support with:
RbConfig::CONFIG["UNICODE_VERSION"]
Ruby / Emoji
Ruby Version Emoji Version 2.7 12.1 2.6.2+ 12.0 2.6.1- 11.0 2.5 5.0
Starting with Ruby 2.6, you can find out your Ruby version's Emoji support with:
RbConfig::CONFIG["UNICODE_EMOJI_VERSION"]
Also See
- unicode-version: These tables available as a gem
- unicode-emoji: Regular Expression for Unicode Emoji
- unicode-x: More micro libraries which provide latest Unicode data
More Idiosyncratic Ruby
Recommend
-
16
Ruby TRICKS of 2018 Ruby was initially designed to be a successor of the Perl programming language, which also means that it inherited a lot of P...
-
10
Nothing to Disable Ruby's mode of operation can be altered with some --enable-* / --disable-* command-line switches....
-
17
Super Snakes Have you ever been confused by the __underscores__ required by some of __RUBY__'s features? You can get i...
-
12
Clear Case of Unclear Casing Recent Ruby versions allow you to choose from a wide-range of uppercase letters - beyond just ASCII - to st...
-
10
Nothing to Escape What is your wild guess: How many different ways does Ruby provide for inserting a NULL byte into a double-quote...
-
11
How does nothing (as in nil, null, or nan) compare to nothing? Equality Equality ==...
-
11
Assignments In-Style The introduction of pattern matching in Ruby 2.7 brought us a new style of multi-assigning local variables: The
-
9
Warning: The Experiment Ruby's Warning module learned some new tricks in...
-
10
Ruby comes with good support for Unicode-related features. Read on if you want to learn more about important Unicode fundamentals and how to use them in Ruby… …or just watch my talk from RubyConf 2017:
-
9
Warning: The Module Starting with Ruby 2.5¹ it is possible to customize the behavior of
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK