Very interesting series on Unicode in C. I wonder if properties of UTF-8, most importantly: never introduce a NULL in the encoding, were added specifically to allow for interoperability with C's NULL-terminated strings.
I'm an old-time programmer for work and for fun. C is my favorite color. Temporarily hooked AI. I love to share thoughts on programming that go beyond the basics.
Very interesting series on Unicode in C. I wonder if properties of UTF-8, most importantly: never introduce a NULL in the encoding, were added specifically to allow for interoperability with C's NULL-terminated strings.
I think this is the case, as UTF-8 is the brainchild of Ken Thompson and Rob Pike, two protagonists of the Unix world since the beginning.
Ah, wasn't aware if the origin story - now it makes perfect sense...