Forums

Please or Register to create posts and topics.

A new, reverse engineered RMNOCASE

Hi,
I and GitHub Copilot have created a new RMNOCASE SQLite collation that was reverse engineered from the RMNOCASE.

I chose to use the RMNOCASE as implemented in RootsMagic v12.1.3 Win x64.

We created test data, INSERTed it into the RM database.  RM did the RMNOCASE sort by Rebuild indexes. We then SELECTed the data out using RMNOCASE ORDER BY and compared how the new sort order compared to the input sort order. That info allowed corrections to the previous sort guess.

It was designed from the start to give the same results as the real RMNOCASE. There are bout 150 K assigned characters in Unicode, this new dll covers 100K of them. I'm not making the claim that this exactly replicates RMNOCASE, but it sure does well.

The popular unifuzz64 has many Unicode specific functions that override and add to SQLite's function repertoire  (which we  don't need) but it just asked Windows to do the collating part. Apparently, that's not what RM does.

I have switched to RMNOCASE_surrogate.dll in my work. I haven't had to do a reindex in RM after making many thousands of updates in RMNOCASE collated columns with external tools. (Verified by Integrity check tool.)

I'd love to get feedback, and also help in compiling it for MacOS and Linux.
For now, its Windows only.
Its home is at-

https://github.com/RichardOtter/RMNOCASE_surrogate/releases/latest

It is released under an MIT license, so do with it what you will.

Richard

 

kevinm has reacted to this post.
kevinm