積丹尼 Dan Jacobson <[email protected]> writes:

Hi Dan,

> Big problem:

(I doubt it is "big")

> If one uses dired switches -al
> instead of getting
> .ax
> .by
> af
> bl
> order,

> one gets
> af
> .ax
> bl
> .by
> order !
> tramp-version "2.4.2"

This is the correct sorting order. Tramp supports i18n, and so
LC_COLLATE is set to whatever the locale is on the remote host. Run the
command "locale" on the remote host, und you will see your settings. In
my tests it is

--8<---------------cut here---------------start------------->8---
# locale
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
--8<---------------cut here---------------end--------------->8---

The sort order you prefer is shown by using LC_COLLATE=C. However, the
question stands: what is the problem with i18n correct sorting?

Best regards, Michael.

Reply via email to