Description: When I try to create an "alphabetical index" for a document with *Turkish Language Sort order*, the index created has some problems: (1) Entries starting with non-english (=non-ASCII) letters are sorted after the letter "Z". They should be sorted according to Turkish sort order: "Ç" after "C", "Ğ" after "G", "İ" after "I"; "Ö" after "O", "Ş" after "S", and "Ü" after "U". (2) Entries starting with the letter "İ" or its equivalent lower case "i" (dotted i) are grouped together (which is correct). However the "alphabetical delimiter" for these entries is displayed as "î" which is wrong. The correct delimiter should be "İ" (upper case dotted i). (For more info, see: https://en.wikipedia.org/wiki/Dotted_and_dotless_I ) I tested only in versions 7.0.4 and 7.0.5 under Ubuntu Linux (20.10). Steps to Reproduce: 1. Open a new Writer document and create some Index Entries like these: FFF fff GGG ggg ĞĞĞ ğğğ HHH hhh III ııı İİİ iii JJJ jjj KKK 2. Go to the end of the document and add using *Insert | Table of Contents and Index* menu entry create an Alphabetical Index. 3. In *Type* tab Select Alphabetical Index, Case sensitive and Turkish (Sort) Language. 4. In the *Entries* tab select Alphabetical delimiter for entry 1. Actual Results: Index is created with the problems as explained in the Description above: Wrong sort order for non-ASCII letters and wrong alphabetical delimiter for entries starting with i and İ. Expected Results: 1. Turkish sort order should be respected. 2. The letter "İ" should be used as the correct alphabetical delimiter for entries starting with i and İ. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.0.5.2 Build ID: 00(Build:2) CPU threads: 12; OS: Linux 5.8; UI render: default; VCL: gtk3 Locale: en-GB (en_US.UTF-8); UI: en-US Ubuntu package version: 1:7.0.5-0ubuntu0.20.10.1 Calc: threaded
Created attachment 171238 [details] A sample Writer document to illustrate the bug
Additional notes: (1) This problem is the same in versions 6 of LibreOffice (I tested with 6.1.5.2). (2) The sort order problem appears only for the first letter of the entries (which is also used for the "Alphabetical Delimiter"). Sorting order for the second letter onwards (where the first letter is the same) appears to work OK. So, it seems that there is a separate algorithm to group entries according to *first letter* (which DOES NOT work OK) and another for a language-dependent general sorting (which works AS EXPECTED).
Exactly the same problem with version 7.1 too. I tested with Writer version 7.1.2.2 under Ubuntu 21.04.
No change in 7.1.3.2 too.
Muhammet, could you confirm it?
Created attachment 173993 [details] An extended version of the previously posted sample Writer document to illustrate the bug
Same problem in Writer: Version: 7.1.4.2 / LibreOffice Community Build ID: 10(Build:2) CPU threads: 12; OS: Linux 5.11; UI render: default; VCL: gtk3 Locale: en-GB (en_US.UTF-8); UI: en-US Ubuntu package version: 1:7.1.4-0ubuntu0.21.04.1 Calc: threaded
Problem persists in Version: 7.1.6.2 too. :(
Still the same in version 7.2.1.2 too.
Still the same in version 7.3.5.2 too.
On pc Debian x86-64 with master sources yesterday, I could reproduce this. Code pointer: SwTOXInternational::Init() (see https://opengrok.libreoffice.org/xref/core/sw/source/core/tox/txmsrt.cxx?r=24865e2d#76)
*** This bug has been marked as a duplicate of bug 65018 ***
Still the same problem in version 24.2.4.2.
(In reply to Fedon Kadifeli from comment #13) > Still the same problem in version 24.2.4.2. Yep, bug 65018 is still open *** This bug has been marked as a duplicate of bug 65018 ***