3 ms·
Unicode support in Ruby has been great since the beginning.
by neallindsay 1y ago
Unicode support in Ruby has been great since the beginning.
- yxhuvud 1y agoNo, it was not great during 1.x times. But it has been fairly good since 2.0
- WJW 1y agoSo for at least 12 years then. 2.0 was released in 2013.
- steveklabnik 1y agoIt's a bit weirder than that, in my opinion. Ruby didn't really gain "unicode support" in the sense we mean it today until 1.9. Before that, Ruby did "support encodings" in a sense, but a lot of the APIs were byte oriented. It was awkward in general. https://web.archive.org/web/20180331093051/http://graysoftinc.com/character-encodings/bytes-and-characters-in-ruby-18 https://web.archive.org/web/20180331093051/http://graysoftin...
- llamataboot 1y agoright it was the python string transition i was talking about
- 0x457 1y agoOnly if you count 1.9.2 as the beginning. What is being talked about is Unicode by default and maybe Unicode tooling (i.e. can correctly iterate over emojis and not just bytes)