Zig NEWS

Discussion on: Unicode String Operations

Collapse
 
discipulus profile image
discipulus

Where does locale come into play? I fuzzily remember an article about how two different countries sort the same language differently.

Collapse
 
dude_the_builder profile image
dude_the_builder

Your memory is correct, and there's a whole other dimension to many of these algorithms that Unicode calls "tailoring". In the specific case of collation, the tailoring can be done by adjusting the weights table to match a specific locale. Aside from providing a different "allkeys.bin" file, Ziglyph doesn't have much in the way of tailoring yet, but it's definitely an interesting avenue to investigate further.