Daniel-KM / Omeka-S-module-Reference

Module for Omeka S to add glossary pages with the alphabetical indexes of specified classes and properties.
Other
3 stars 1 forks source link

Special letters create multiple titles #2

Open pprw opened 6 years ago

pprw commented 6 years ago

I have a list of names, some start with É or OE.

Reference creates multiple titles for these special letters.

See:

screenshot-2018-6-14 contenus afas

Or:

screenshot-2018-6-14 contenus afas 1

Daniel-KM commented 6 years ago

Ok. I 'll fix it in a few days.

pprw commented 6 years ago

Thanks. On the same subject, I think É should be just after E in the alphabetical heading. The same for OE just after O.

Daniel-KM commented 6 years ago

I this is fixed in last version (3.4.10). Note that this is a complex subject, and that the order may vary between people and soft. I try to use the order provided by mariadb (mysql), that follows the standard unicode, but php follows the standard unicode too, but some detais are different in a default config. So the new version fixes the issue above, except for the Πin some cases. Like in the dictionnary, the diacritic are ordered with the main letter. To fixes all issues, the initial letter should be get via sql, but the convertcommand is not manageable directly by Doctrine, so you can fix it: see https://github.com/Daniel-KM/Omeka-S-module-Reference/blob/master/src/Mvc/Controller/Plugin/Reference.php#L685.

pprw commented 6 years ago

I tested the last git version and I can confirm it fixes the problem for E É but not for O OE.

pprw commented 5 years ago

I cloned my Omeka S installation to another server and I have this bug (with É and E) appears again.

The bug does not appear on the old server: old server

But it appears on this new one:

new server

Is there something I can do?

Daniel-KM commented 5 years ago

Do you have the same version of Reference ?

pprw commented 5 years ago

Yes, it is the exact same omeka S installation+modules+themes (just a clone) with the same database (also a clone).

I deactivated the first letter as title so I don't need a fix but I posted the message for you to know the bug is still present with a slightly different server.

Daniel-KM commented 5 years ago

I have no idea, the module uses mbstring or iconv, and you have them. Anyway the initial is extracted directly from the database, so it's probably related to the database. To be sure, try to purge your database, uninstall mariadb, then install mysql, then import the database. Anyway, I use mariadb, that is the default in main distribution now, without error (except for Œ). If this is an automatic virtual machine (vagrant), i can check, else it will be hard to find.

Daniel-KM commented 5 years ago

You find the best solution!

pprw commented 3 years ago

I just re-experienced this bug with Omeka 3.0 and Reference (master)

New fact : Some accented letters are correctly under "E", some other not. See "Éthique artificielle".

image image

pprw commented 3 years ago

up :-)

Daniel-KM commented 3 years ago

Les cas différents sont peut-être liés à des espaces dans les sujets ?

Daniel-KM commented 3 years ago

C'est peut-être lié ua thème. Qu'est-ce que cela donne avec le thème par défaut ?

pprw commented 3 years ago

C'est peut-être lié ua thème. Qu'est-ce que cela donne avec le thème par défaut ?

Je viens de tester : même problème.

mufticsanjin commented 1 week ago

We had an issue similar to this, but happening with special characters that we posted on the Omeka Forum. We discovered that in a server os upgrade we did not install the php extension intl and once we got it working, we could get the headings to recognize the special characters and group the items properly.