本当は怖いUTF-16
$ irb> "𠮷".encode("UTF-8").length=> 1> "𠮷".encode("UTF-16").length=> 2
端末はUTF-8なんだけどnodeがUTF-16に変換してるのかしら
$ node> "𠮷".length2
@zundan それも能動的に(寒)
@h12o いyarn
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.