aMule Bug Tracker - aMule
View Issue Details
0000472aMuleExternal Connpublic2005-06-06 11:312005-06-09 10:02
benjavalero 
GonoszTopi 
normalminoralways
resolvedwon't fix 
2.0.1 
 
0000472: Sorting Unicode characters
I've installed wxwidgets 2.6 with support for Unicode, and I'm glad with it, but when I sort the files alphabetically, files that start with accentuated characters are placed at the end of the list. For example, if I have "Álex", "Anthony" and "Benjamin", that should be the right order, but "Álex" is placed the last. Perhaps that's a bug of wxwidgets. Anyway, it's a nonsense :D

Benja
No tags attached.
Issue History
2005-06-06 11:31benjavaleroNew Issue
2005-06-06 19:10KryNote Added: 0001051
2005-06-08 21:03benjavaleroNote Added: 0001052
2005-06-08 22:40KryNote Added: 0001053
2005-06-09 10:02GonoszTopiStatusnew => resolved
2005-06-09 10:02GonoszTopiResolutionopen => won't fix
2005-06-09 10:02GonoszTopiAssigned To => GonoszTopi
2005-06-09 10:02GonoszTopiNote Added: 0001054

Notes
(0001051)
Kry   
2005-06-06 19:10   
How are you, hum, suposed to sort wide chars?
(0001052)
benjavalero   
2005-06-08 21:03   
Well... at least in Spanish and German dictionaries, a vowel with an accent is treated as a simple vowel to get sorted, so Benjamín and Benjamin would be sorted in the same place.

I hope I have explained... my English is very poor :(

Benja
(0001053)
Kry   
2005-06-08 22:40   
Problem is, even if they look alike, the chars have a completely different identifier. Dunno if there's any way to map them, but I'm sure I don't know it.
(0001054)
GonoszTopi   
2005-06-09 10:02   
It is possible to do, but doesn't worth the effort. The unicode character table (available from The Unicode Consortium) contains the composite map for each (composite) character, so it would reveal that Á = A + ´, so it can be sorted as "A"

However, it was a good solution only if we were talking of one single language. I don't think it would be a good idea to include a several megabytes database in aMule, just to fix sorting.

So, technically the issue is closed. Reopen it when cheap sorting solutions found for unicode.