2 ms·
> A fully featured UTF-8 parsing and rendering engine is a sophisticated thing. No, UTF8 decoding is trivial, you can do it in a few dozen lines in just about
by rollcat 9y ago
> A fully featured UTF-8 parsing and rendering engine is a sophisticated thing.
No, UTF8 decoding is trivial, you can do it in a few dozen lines in just about any language. It's Unicode that is a complex and moving target. But you can also just choose to implement a sane subset of Unicode for your application.
Recommended reading: http://cat-v.org/ http://cat-v.org/, https://github.com/cls/libutf https://github.com/cls/libutf