3 ms·
> replacing substrings, all of which can be done at the byte level You actually cannot implement substring replacement at the byte level with Unicode, just thi
by usrnm 2y ago
> replacing substrings, all of which can be done at the byte level
You actually cannot implement substring replacement at the byte level with Unicode, just think about what happens if there is a modifier right after the substring in the original text. You cannot just avoid the fact that Unicode (and human writing in general) is a mess.