Comment on Never create Ruby strings longer than 23 charactersparentComments−microtherion14yYes, hiragana are from an unicode range that encodes to 3 UTF-8 characters each, so ruby appears to use UTF-8. ありがと is "arigato".−unwind14yYou probably mean "three bytes in UTF-8", talking about "UTF-8 characters" is really confusing.−microtherion14yYou're absolutely right, I should have said "three bytes" or "three octets".
Comments
Yes, hiragana are from an unicode range that encodes to 3 UTF-8 characters each, so ruby appears to use UTF-8. ありがと is "arigato".
You probably mean "three bytes in UTF-8", talking about "UTF-8 characters" is really confusing.
You're absolutely right, I should have said "three bytes" or "three octets".