DEV Community

Discussion on: UTF-8 strings in C (1/3)

Collapse
 
flopp profile image
Florian Pigorsch

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.

Collapse
 
rdentato profile image
Remo Dentato

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.

Collapse
 
flopp profile image
Florian Pigorsch

Ah, wasn't aware if the origin story - now it makes perfect sense...