>current locale if use locale is in effect. See perllocale.
But locales and unicode don't mix well:
perldoc perlunicode:
"Use of locales with Unicode data may lead to odd results.
Currently,Perl attempts to attach 8 bit locale info to characters
in the range 0..255, but this technique is demonstrably incorrect for
locales that use characters above that range when mapped into
Unicode. Perls Unicode support will also tend to run slower. Use of
locales with Unicode is discouraged."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I would have thought Unicode::Collate is the correct way to go when sorting utf8 encoded data. But, looking at the docs, I couldnt make head or tail of it - it assumes you to know an awful lot about "Unicode Technical Standard #10"
If your current locale is, say, es_ES, how do you actually instantiate the correct Unicode::Collate object for that locale?