Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Unicode Collation Algorithm (UCA) #9609

Open
dlangBugzillaToGithub opened this issue Jul 7, 2013 · 2 comments
Open

Implement Unicode Collation Algorithm (UCA) #9609

dlangBugzillaToGithub opened this issue Jul 7, 2013 · 2 comments

Comments

@dlangBugzillaToGithub
Copy link

dmitry.olsh (@DmitryOlshansky) reported this on 2013-07-07T06:20:23Z

Transfered from https://issues.dlang.org/show_bug.cgi?id=10566

CC List

  • alphaglosined
  • dlang (@Vild)
  • hsteoh
  • philly.dilly

Description

This should become another piece of std.uni functionality.
It is essential for applications such as databases and UI interfaces that try to produce natural (language and culture wise) sorting order, instead of some consistent but arbitrary.

Relevant technical report:
http://unicode.org/reports/tr10/
@dlangBugzillaToGithub
Copy link
Author

philly.dilly commented on 2014-06-24T07:17:30Z

Although Unicode support is definitely needed, implementing this in D is quite ambitious. Perhaps we could instead simply make a wrapper around either OS API or C++ std locale. Shouldn't be that hard to port code from boost::locale and at least D users would have something until TR10 is implemented natively in D (if ever considering the complexity!).

@dlangBugzillaToGithub
Copy link
Author

alphaglosined commented on 2022-12-17T20:33:31Z

I've had a look at TR10, it doesn't look too bad.

The algorithm is more or less just four steps, and two of them are already implemented.

It is in the same league of work as normalization and the full casing algorithm. The former is implemented (dependency), and the latter we haven't got yet, but we will get that eventually.

@LightBender LightBender removed the P4 label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants