One more thing.
If I specify LC_COLLATE to C/POSIX, special characters sorting looks
fine, but I lose Polish characters ordering.
If I specify LC_COLLATE to pl_PL.UTF-8, Polish characters ordering is
fine, but sorting goes crazy with special characters.
Is it possible to retain both features then?

carra...@laptop-rg:/tmp$ cat test2.csv
,"A
_d
,"M
a
ą
b
ż
ć
z
carra...@laptop-rg:/tmp$ LC_ALL=POSIX sort test2.csv
,"A
,"M
_d
a
b
z
ą
ć
ż

# above - correct special characters, Polish in wrong order

carra...@laptop-rg:/tmp$ LC_ALL=pl_PL.UTF-8 sort test2.csv
a
,"A
ą
b
ć
_d
,"M
z
ż

# above - correct Polish characters order, incorrect special characters

Feel free to replace 'correct' with 'expected' in my posts, I'm just
trying to understand what's under the hood.

Regards,
Robert


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=pu2np+filsqx6vcjj32sqnyajqpopqw33v...@mail.gmail.com

Reply via email to