It's weird to me that text encoding is put in the domain of the kernel. But I guess it's the way it needs to be until the world moves to microkernels.
Linux might not be the most performant in the text engine game but at least it runs in userland.
[1] https://arstechnica.com/gadgets/2013/08/rendering-bug-crashe...
[2] https://www.engadget.com/unusual-buggy-character-string-appl...