Closed eregon closed 4 years ago
yeah, so it should go to UnicodeProperties, any preference wrt the name ?
I would use the same as MRI, so UNICODE_VERSION
and UNICODE_EMOJI_VERSION
Relates to jruby/jruby#5576 and would fix two specs.
I have hardcoded these in JRuby for now.
Thanks! As long as they're kept up-to-date with the version of Unicode JCodings implements this sounds a good approach.
MRI reports both of these as
RbConfig::CONFIG['UNICODE_VERSION']
andRbConfig::CONFIG['UNICODE_EMOJI_VERSION']
. Is there a way to get those values from JCodings? I could not find one.Maybe we could expose the version from
scripts/generate.rb
or the lastage
from https://github.com/jruby/jcodings/commit/549d6310f47fa8b6a5ab5f1803e5f1960c4a6524#diff-f7b7fcd9408309a7a3e666c1cc8c91b0 ?