Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: travis82 on July 26, 2014, 07:12:45

Title: wrong sorting persian file and folders by name
Post by: travis82 on July 26, 2014, 07:12:45
hi
I am a persian user of MC and I have many file and folders in my computer named by persian language. MC show odd behavior when I want to arrange these file and folder by name. sorting is wrong in persian alphabetical and I don't now why?
please fix this bug
Title: Re: wrong sorting persian file and folders by name
Post by: Mathias (Author) on July 26, 2014, 15:07:21
Natural sorting does not work well with some localized characters.
So if you turn off that it should sort better

Menu > Configuration > Explorer Panel Settings > Display (tab)
Scroll down to "Sorting and Columns"
Uncheck "Sort files and folders in natural order"
Title: Re: wrong sorting persian file and folders by name
Post by: travis82 on July 27, 2014, 08:42:15
I try this. it's not work
Title: Re: wrong sorting persian file and folders by name
Post by: Mathias (Author) on July 27, 2014, 09:22:55
That is very strange because when it is off the compare for the sorting is handled by Windows it self.

Did you restart MC or force a refresh in MC ?
Is everything sorted wrong or only some characters.. Do Windows explorer sort it correct ?
Title: Re: wrong sorting persian file and folders by name
Post by: ice-man on July 29, 2014, 16:07:21
Maybe he can figure out how to fix it if you can post an example with names that are sorted wrong and how they should be sorted.
I think it can be difficult for Mathias to fix this without proper test data.
Title: Re: wrong sorting persian file and folders by name
Post by: travis82 on August 06, 2014, 08:31:29
attached pics shows true sorting of directory named by persian characters in two different file manager (free commander and double commander) and wrong sorting in MC. look at the location of کتاب directory in these pics. this problem is not about words starting with ک letters. but occurs for many persian letters. disabling "sort file and folders in natural order" dose not solve this problem   
Title: Re: wrong sorting persian file and folders by name
Post by: Mathias (Author) on August 06, 2014, 09:33:37
Not sure why Windows decides to sort it like that.
But looks like most items are sorted correct and only 1 or 2 are wrong. and that is strange. What is different with them.. are they starting with some "extended" / "special" / "number" character in persian ?

As ice-man said.  Without test data I cannot even test to see why it is happening. Because I can't even type those characters

If you create a some of empty .txt file ( "cf <filename>" in the commandline field ) with names like this and pack them with zip and attach it.
Then I can see if I'm able to reproduce it.. make sure UTF8 in enabled in Zip settings,  Menu > Configuration > FileSystemPlugins > FSZip (or pack them using 7z, it should support unicode filenames )