Feature #17750
closed
Update Unicode data to Unicode Version 13.0.0
Added by duerst (Martin Dürst) over 3 years ago.
Updated over 3 years ago.
Description
The newest version of Unicode is Unicode 13.0.0 since about one year (see http://www.unicode.org/versions/Unicode13.0.0/). We should finally update Ruby to use Unicode 13.0.0, and probably also backport the result to Ruby 3.0. This issue serves as the main issue for this update; if necessary, I'll create sub-issues.
Currently, I don't expect any major issues (stuff that would require rewriting code) for this upgrade, but I'll check again carefully.
One problem I know of is that Unicode changed the structure of their directories somewhat. This may affect the Ruby makefile infrastructure.
- Related to Feature #14802: Update Unicode data to Unicode Version 11.0.0 added
- Blocked by Bug #18022: Spec errors for rbconfig/unicode_[emoji_]version_spec: Using Ruby 2.7 even when on Ruby 3.1 added
Details about moving files (see https://www.unicode.org/Public/13.0.0/ucd/emoji/ReadMe.txt):
The two files emoji-data.txt
and emoji-variation-sequences.txt
move from
https://www.unicode.org/Public/emoji/12.1/
in Emoji version 12.1 to
https://www.unicode.org/Public/13.0.0/ucd/emoji/
in Unicode Version 13.0.0.
We will reflect this in also changing the location of the files when building Ruby.
To get all the files, use
$> make update-unicode
In some cases, it will be necessary to temporarily uncomment the following line in common.mk
:
# ALWAYS_UPDATE_UNICODE = yes
- Related to Bug #18028: test/ruby/enc/test_emoji_breaks.rb does not deal with Unicode ranges in file emoji-sequences.txt added
- Related to Bug #18027: test/ruby/enc/test_emoji_breaks.rb does not use the file emoji-variation-sequences.txt added
- Related to Feature #18037: Update Unicode data to Unicode Version 14.0.0 added
- Status changed from Open to Closed
Closed (finally) with revision 21fd83a823.
- Related to Feature #15321: Update Unicode data to Unicode Version 12.0.0 added
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0