Bug 190919

Summary: sorting of accentuated filenames
Product: [Frameworks and Libraries] kdelibs Reporter: Pierre Buard <pierre+libre.kde>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DOWNSTREAM    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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.