最近のRubyでのUTF-16サロゲートペア検出うーん
$ ruby -e '"𠮷野家".codepoints.each{puts "#{it.chr(Encoding::UTF_8)}: #{it >= 0x10000}"}'𠮷: true野: false家: false
Mastodon is the best way to keep up with what's happening.
Follow anyone across the fediverse and see it all in chronological order. No algorithms, ads, or clickbait in sight.