TListBox and TComboBox do not sort Hebrew Strings correctly.
Original Reporter info from Mantis: Avishai
-
Reporter name: Avishai
Original Reporter info from Mantis: Avishai
- Reporter name: Avishai
Description:
TListBox and TComboBox do not sort Hebrew Strings correctly. This is hard to explain if you do not know Hebrew. The Hebrew alphabet has 22 base letters and 5 special case letter variations. In 5 cases, ONLY if a letter comes at the END of a word, it has a different shape. So their are a total of 27 letter shapes. Unicode is consistent and lists the "End of Word" letter first and "Normal Letter" second.
TLsistBox and TComboBox is inconsistent. 3 of these special case letters are sorted "End of Word - Normal Letter" (like Unicode) and 2 are sorted "Normal Letter - End of Word" (reverse of Unicode). I sorted the Hebrew alphabet in MS Excel and it sorted the same as Unicode.
For other Middle Eastern languages like Arabic it is more complicated but I do not know these languages so I can not explain them.
(Lazarus-0.9.31-32487-fpc-2.5.1-20110924-win64)
Mantis conversion info:
- Mantis ID: 20340
- Version: 0.9.31 (SVN)