In Ruby `length` returns the number of unicode characters
What is a unicode character? Even in utf-32, one printed character might be made up of two unicode code points. Or sometimes, two printed characters might come from a single code point.
Adam D. Ruppe via Digitalmars-d-announce Thu, 20 Nov 2014 05:55:44 -0800
In Ruby `length` returns the number of unicode characters
What is a unicode character? Even in utf-32, one printed character might be made up of two unicode code points. Or sometimes, two printed characters might come from a single code point.