3 ms·
Once you venture out of ASCII, you will find that string comparisons are hard. You'll need to get things into the right encoding (as the article states, UTF-16
by toast0 7y ago
Once you venture out of ASCII, you will find that string comparisons are hard.
You'll need to get things into the right encoding (as the article states, UTF-16 is alive and well in some places, and there are two forms of that), and you'll probably need to do unicode normalization for some languages, because not every system will do that the same. But, normalization rules change over time, so you'll need to include the normalization used with the password processing code and storage.