loading...

re: Why No Modern Programming Language Should Have a 'Character' Data Type VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You wrote: "This 2-byte, fixed-width encoding, "UTF-16"" But UTF-16 is "encoded with one or two 16-bit code units" (cf Wikipedia), hence it is a va...
 

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!

code of conduct - report abuse