top | item 44509139 (no title) neallindsay | 7 months ago Unicode support in Ruby has been great since the beginning. discuss order hn newest steveklabnik|7 months ago It'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://graysoftin... yxhuvud|7 months ago No, it was not great during 1.x times. But it has been fairly good since 2.0 WJW|7 months ago So for at least 12 years then. 2.0 was released in 2013. 0x457|7 months ago Only 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) llamataboot|7 months ago right it was the python string transition i was talking about
steveklabnik|7 months ago It'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://graysoftin...
yxhuvud|7 months ago No, it was not great during 1.x times. But it has been fairly good since 2.0 WJW|7 months ago So for at least 12 years then. 2.0 was released in 2013.
0x457|7 months ago Only 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)
steveklabnik|7 months ago
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://graysoftin...
yxhuvud|7 months ago
WJW|7 months ago
0x457|7 months ago
llamataboot|7 months ago