News for hackers. Stuff that matters.
Re:Some Were Meant for C (2017) [pdf] by lugg on Thursday April 25, 2019 @08:12AM (#19747204)
1 to 4 bytes.

How does utf8 make that difficult to answer?

When was the last time you iterated over a string of unicode points and said you know what would be handy right now? If these code points were split up into arbitrary and unusable bytes of memory.

Re:Some Were Meant for C (2017) [pdf] by adrianN on Thursday April 25, 2019 @08:29AM (#19747322)
Well, ä is a character in German. You can either write it as LATIN SMALL LETTER A WITH DIAERESIS, or you can use COMBINING DIAERESIS and a. When you iterate over the German word Mädchen as Unicode code points you might be confused. Other languages do much crazier things.
Re:Some Were Meant for C (2017) [pdf] by lugg on Friday April 26, 2019 @01:38PM (#19759966)
That doesn't make it hard..