Bug 190919 - sorting of accentuated filenames
Summary: sorting of accentuated filenames
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 15:52 UTC by Pierre Buard
Modified: 2009-06-24 15:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre Buard 2009-04-28 15:52:38 UTC
Version:           1.2.1 (using KDE 4.2.2)
OS:                Linux
Installed from:    Unlisted Binary Package

When mixing non-accentuated filenames with accentuated ones, the latter are always at the bottom of the list. Rather than being sorted after the "z", they should be with their relatives. E.g. "é" and "è" with the "e", "à" with the "a" and so on...

This is not restricted to Dolphin. Konqueror and the open dialog behave that way too.

How to Reproduce:
- in a folder, create some files with different filenames,
- add a file whose name begins with an accentuated character (e.g. é),
- try to find your newly named file.

P.S. : yea, those damn europeans and their orthographical inconsistencies ;-)
Comment 1 Christoph Feck 2009-06-24 04:22:09 UTC
What is your system locale? KDE should use the locale's sort order to sort names.

You can find out by typing

    echo $LANG

in konsole.
Comment 2 Pierre Buard 2009-06-24 15:13:53 UTC
Christoph Feck wrote:
> What is your system locale?

My locale is fr_FR.utf8.

> KDE should use the locale's sort order to sort names.

Your suggestion made me check a little further. I found out that this also happened in xterm.

After a little bit of tinkering I set my empty LC_ALL (the only one not assigned) to fr_FR.utf8. This solved the problem in the terminals and in KDE.

You were right, this is not a KDE bug but an Arch Linux one. I'll report it there.