On the meaning of string.length

Adam D. Ruppe via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Thu Nov 20 05:50:58 PST 2014


On Wednesday, 19 November 2014 at 21:00:50 UTC, Ary Borenszweig 
wrote:
> 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.


More information about the Digitalmars-d-announce mailing list