3 ms·
The simple way is ignore everything after the first point 7. Your code WILL be broken but so is everyone else's code. 99% of programmers don't know much about e
by EdiX 15y ago
The simple way is ignore everything after the first point 7. Your code WILL be broken but so is everyone else's code. 99% of programmers don't know much about encodings I don't expect them to start learning about the issues with unicode's normalization and collation algorithms.
On most of those issues being the only one that gets it right is either pointless or retroactively wrong.
- pnathan 15y agoMy approach so far is to deliberately use ASCII. Since my code does not have to operate in i18n (and I don't anticipate that it will), ASCII is the YAGNI solution.