DEV Community

Discussion on: Why No Modern Programming Language Should Have a 'Character' Data Type

Collapse
 
awwsmm profile image
Andrew (he/him)

You're right. When UTF-16 was introduced, it was fixed-width. But -- to accommodate 4-byte-width characters -- it's now a variable-width encoding. I'll edit the text to clarify that. Thanks!