alphanumeric-sort icon indicating copy to clipboard operation
alphanumeric-sort copied to clipboard

FR: Support non-ASCII characters

Open stevenroose opened this issue 5 years ago • 4 comments

This crate doesn't seem to work with non-ASCII characters. Sorting French or Spanish words, let alone Chinese or Japanese words don't seem to be working correctly.

stevenroose avatar Jun 13 '20 21:06 stevenroose

Could you provide some examples?

magiclen avatar Jun 13 '20 23:06 magiclen

It seemed that sorting complex unicode based languages is quite impossible. So nevermind. Even though I think sorting latin characters with accents next to their corresponding letter without accent would be nice.

stevenroose avatar Jun 29 '20 07:06 stevenroose

For anyone else looking into this, you would be looking into an implementation of the Unicode Collation algorithm

kirawi avatar May 30 '24 13:05 kirawi