@Fred Sortroutine
@Fred Sortroutine
Hello,
the sort-procedure place ü,ö,ä at the end of the list. Is it possible
to implement for german User that sort use internel a=ä,u=ü,o=ö,
because ü,ö,ä at the end oft the list is wrong..
Greetings Volker
the sort-procedure place ü,ö,ä at the end of the list. Is it possible
to implement for german User that sort use internel a=ä,u=ü,o=ö,
because ü,ö,ä at the end oft the list is wrong..
Greetings Volker
- Thorsten1867
- Addict
- Posts: 1372
- Joined: Wed Aug 24, 2005 4:02 pm
- Location: Germany
That would be a good idea!!!
Translated with http://www.DeepL.com/Translator
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
Download of PureBasic - Modules
Download of PureBasic - Programs
[Windows 11 x64] [PB V5.7x]
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Can be complicate with unicode, but using one byte chars, the sort routine could have an additional parameter pointing to a 256 byte table which includes the sort order you like.Fred wrote:This is not realistic to do that for all langages.. You can still replace all these letter with the non-accent one, sort it, and put back the original strings in it.
But maybe all (western) countries would sort in the same way?
Concentrating on the alphabet (the order of cyphers etc. should be equal everywhere), I would say, it is typical to put all variations of 'a' at the beginning, with accents (á, à, ä, å, ã, â, æ etc.) After that there is 'b', then 'c' (followed by cedille?) etc.
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
- utopiomania
- Addict
- Posts: 1655
- Joined: Tue May 10, 2005 10:00 pm
- Location: Norway
- Michael Vogel
- Addict
- Posts: 2797
- Joined: Thu Feb 09, 2006 11:27 pm
- Contact:
Bad luck, I just tried itmaw wrote:No, we dont even have the same charactersWill that be the same in finland, sweden, danmark etc.?
In Sweden we use: ABCDEFGHIJKLMNOPQRSTUVWXYZÅÄÖ

unused chars wouldn't be a problem, but chars in different order ('Ä' after 'Å' in swedish, between 'A' and 'B' in german etc.) would lead to implement different sorting arrays...