News for hackers. Stuff that matters.
Re:Localisation is too hard for Gmail by hugh-avherald on Wednesday October 21, 2020 @08:54AM (#24847321)
But this can happen in plenty of other ways. For example sorting character vectors is dependent on locale. Arithmetic on times too.
Re:Localisation is too hard for Gmail by jan6 on Wednesday October 21, 2020 @10:45AM (#24848373)
I especially hate the way gnu utils treat character groups like [:alnum:] which, if you have utf8 version of a locale, matches characters in ANY unicode language set... so if you, say, grep for numbers in /dev/urandom with a shell script, you can end up with, say, some characters that are technically numbers but in a totally different language, say, arabic, or hebrew...