|
|
|
|
|
by rcoveson
1108 days ago
|
|
Continue to the next sentence of context: > You also need to read ahead as there are combination characters, for example a smiley combined with the color brow becomes a brown smiley. Emphasis mine. Clearly combination characters are being treated separately. Frankly I think it's crazy to read "up to 5 bytes" and not think that it suggest an upper bound. I think you're reaching for a highly questionably interpretation of a totally unambiguous clause. If the author meant to express what you're saying, they would certainly have written: "Some Unicode characters are 5 bytes long and take up the same canvas space as 3 characters". Which would still look incorrect if they followed it with the sentence "You also need to read ahead as there are combination characters...". It is far more likely that the author is simply mistaken and should have said 4 bytes, and perhaps used the word "codepoint" instead of "character" in the original sentence. That's a perfectly understandable technical error, while the reinterpretation you're putting together would imply an error of colloquial language. |
|