Mega Code Archive
Categories
/
Ruby
/
Development
Length of non-ascii string
"\xef\xbc\xa2".length # => 3 "\xef\xbc\xa2".jlength # => 1