8 Replies Latest reply: Jan 5, 2013 1:48 PM by kolcon
kolcon Level 1 Level 1 (0 points)

$ locale

LANG="en_US.UTF-8"

LC_COLLATE="en_US.UTF-8"

LC_CTYPE="en_US.UTF-8"

LC_MESSAGES="en_US.UTF-8"

LC_MONETARY="en_US.UTF-8"

LC_NUMERIC="en_US.UTF-8"

LC_TIME="en_US.UTF-8"

LC_ALL="en_US.UTF-8"

 

$ cat aaa

Š

AAA

 

$ sort aaa

AAA

Š

 

=> which is wrong, should be AAA, SŠ, Š, TŠ

 

$ LC_ALL="cs_CZ.UTF-8" sort aaa

AAA

Š

 

=> also wrong

 

This is also influencing my Perl script :(

 

Any idea what to do? I have the "Order for sorted list" set (to Czech) in the System Prefs

 

Thank you...


MacBook Air, OS X Mountain Lion (10.8.2)