http://www.perlmonks.org?node_id=761540


in reply to Re^3: Spanish locale and name sorting
in thread Spanish locale and name sorting

Can you try again with "es_AR.UTF-8" instead of "Spanish - Argentina"?

Sure thing. As you will see, with this output of your program, we are back to the situation I asked about in the first post of this thread:

Current locale is (C). unsorted use-locale no-locale - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 maceira mac alister mac alister 1 mac alister maceira mac loughlin 2 mac loughlin mac loughlin maceira 3 san esteban san esteban san esteban 4 sangregorio sangregorio san zoilo 5 san zoilo san zoilo sangregorio - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Current locale is (es_AR.UTF-8). unsorted use-locale no-locale - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 maceira mac alister mac alister 1 mac alister maceira mac loughlin 2 mac loughlin mac loughlin maceira 3 san esteban san esteban san esteban 4 sangregorio sangregorio san zoilo 5 san zoilo san zoilo sangregorio - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I suspect a bug in locale.

So do I, if I am entitled to (I don't know anything about locale).