[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sort-lines including non ASCII

From: Eli Zaretskii
Subject: Re: sort-lines including non ASCII
Date: Fri, 08 Jul 2016 09:32:54 +0300

> From: Teemu Likonen <address@hidden>
> Cc: address@hidden
> Date: Fri, 08 Jul 2016 07:17:53 +0300
> >> If we are allowed to step outside Emacs filtering lines through (GNU)
> >> /usr/bin/sort should do what you want.
> >
> > Only if the locale outside Emacs is the one you want to use for
> > collation. Emacs is a multilingual environment, so it supports
> > multiple collating locales, independently of the system one.
> Yes, Emacs is nice, but system's locale is just some installed files and
> environment variables. They can be changed too. Here's an example how to
> sort lines using locale fi_FI.UTF-8 in GNU systems:
>     M-x shell-command-on-region RET LC_COLLATE=fi_FI.UTF-8 sort RET

Why would one need that, given that Emacs includes the same
functionality built-in now?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]