To calculate hashcodes in Hybrid Globalization we have to use invariant methods. We can over-skip characters when creating hashes, this would result in less collisions and impacts performance but not correctness. Because of that, we can choose a subset of chars that we will hash and that give the same hashing result in invariant mode and in ICU mode and skip all the rest.
Draft PR: #97351.