Re: unicode length
- Posted by jimcbrown (admin) Feb 07, 2020
- 1118 views
SDPringle said...
which is probably why Derek was/is an advocate for using this encoding for actually working with strings.
Me too. Since UTF-32 actually only uses 31 bits, it fits perfectly with the old 31-bit integer used by 32-bit OE. (64-bit OE now uses a 63-bit integer, but even so...)
My recollection was that even C libraries like GTK would convert to UTF-32 to carry out various oeprations like checking the character length, and then only convert to UTF-8 as the final step.