• Hello, we have following issues with letters starting with diacritics:

    á, é, í, ó, ú, Y, ?, ?, ?, ?, ?, ? and ? are (and some others, in languages that use it) different letters than A, E, I, O, U, Y, C, D, T, N, L, S and Z. Currently, latest ND version works with these starting letters as the same letter – e.g ?aba is before ZOO, when it should be after etc., and only one variant is shown in the alphabet list on the top.

    In our example we experienced problems with C/?, S/?, U/ú and Z/?.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @wpeterme, I will have to look into that, but at the moment this part (the diacritics storing and sorting) relies on PHP’s and MySQL’s internals, so I think there is not much I can do. But I will look into it.

    There is a disadvantage, I a not a native speaker/user of these characters, so therefore I have no knowledge about how this should be sorted and if this is the same in every language. But if I am understanding this correctly, your assumption is that the NON-diacritic characters should come before the ones with diacritics right?

    Kind regards, Jeroen

    Thread Starter Peter Hausleitner

    (@wpeterme)

    Great, thank you. My example is for Slovak language, Czech is similar (they have also R/?..). Yes, first come non-diacritics, after them diacritic characters.

    https://en.wikipedia.org/wiki/Slovak_orthography#Alphabet

    Regards, Peter

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @wpeterme, I am sorry for the later reply, but at this moment I cannot really change it. It really creates the list of index-letters by treating a word like “?asopriestor” as “Casopriestor”. When there is this word and a word like Condor in this list, the first word to be sorted would be ?asopriestor and this way ? would be listed on the Index. When there is a word that alphabetically comes first without diacritics, then the “normal” letter is used for the index.

    I have tried and tinkered with this, but at this moment I do not have a solution for your proposal (use the R before ?). I will continue to check, but please know that I did check and tinkered with it.

    Kind regards,

    Jeroen Peters

    Thread Starter Peter Hausleitner

    (@wpeterme)

    Thank you very much for spending time for this. Maybe once there will be some way to fix it.

    Cheers

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @wpeterme, I have done some additional testing and tinkering. It seems that some DB settings could influence the sorting, but all my testing has ended up doing nothing. For now I am giving up on this, I am sorry.

    Kind regards Jeroen

    the database should be in such case: utf8mb4_czech_ci
    not all tables needed, only those where you have the records stored.
    (I know it works form my own experience… it does not matter in most cases but the sorting)

    Plugin Author Jeroen Peters

    (@jeroenpeters1986)

    Hi @o-o,

    thanks for hopping in! I have tried this with another one, I am not really sure which one collation. I will try the czech one, but I am hoping it will not only be for Czech, as I try to support worldwide. Do you happen to know anything about this?

    Kind regards, and thanks again for joining in,

    Jeroen Peters

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problems with diacritics’ is closed to new replies.