Provide Unicode Version information in a better location that UnicodeNormalize::UNICODE_VERSION
Currently, the Unicode version used in a specific version of Ruby is available
It is rather unnatural to have to do
The Unicode version is also available for make, as
The Unicode version should be available directly in Ruby, e.g. as
RUBY_UNICODE_VERSION or some such.
Updated by duerst (Martin Dürst) over 3 years ago
- Assignee changed from duerst (Martin Dürst) to nobu (Nobuyoshi Nakada)
If I add e.g.
puts ' CONFIG["UNICODE_VERSION"] = "$(UNICODE_VERSION)"'
as line 185 in tool/mkconfig.rb, I get a line
CONFIG["UNICODE_VERSION"] = "$(UNICODE_VERSION)"
to show up in rbconfig.rb, but in contrast to all the other $(...) variables in that file,
it doesn't get resolved, so that I only get the following:
$ ruby -e 'puts RbConfig::CONFIG["UNICODE_VERSION"]' $(UNICODE_VERSION)
This is as far as I got, so I'm hoping on some help from Nobu.