Why can't D store all UTF-8 code units in char type? (not really understanding explanation)

Ali Çehreli acehreli at yahoo.com
Fri Dec 2 22:32:47 UTC 2022


On 12/2/22 13:44, rikki cattermole wrote:

 > Yeah you're right, its code unit not code point.

This proves yet again how badly chosen those names are. I must look it 
up every time before using one or the other.

So they are both "code"? One is a "unit" and the other is a "point"? Sheesh!

Ali



More information about the Digitalmars-d-learn mailing list