Description: The heading reflects the problem. The Collection object is not documented, but works well in native mode. Steps to Reproduce: 1. Create an instance of the 'Collection' object. 2. Add two items to the collection using the key as non-ANSII characters, such as "Д" and "д" (Cyrillic). 3. Sample code is shown below. Actual Results: Both items will be added without error. Expected Results: Duplicate key error should occur when adding the second item. Reproducible: Always User Profile Reset: No Additional Info: A similar problem: https://bugs.documentfoundation.org/show_bug.cgi?id=132389 VBA code. Compare: Sub Test_Collection() Dim c As Collection, item On Error Resume Next Set c = New Collection c.Add 1, "D" c.Add 2, "d" c.Add 3, "Д" 'Cyrillic c.Add 4, "д" 'Cyrillic; for LibreOffice you have to set: UCase("д") On Error GoTo 0 Debug.Print "Count: " & c.Count For Each item In c Debug.Print item Next End Sub OUTPUT Count: 2 1 3
Confirmed in: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 244891482469454ca186f5c81e23fd55c3b69ef5 CPU threads: 6; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-US Calc: CL
Code pointer for me: https://opengrok.libreoffice.org/xref/core/basic/source/classes/sb.cxx?r=4dc40659#1985
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/ef32c3b4f9b80918d6018e14297fa41245afd381 tdf#144245 - Case-insensitive operation for non-ASCII characters It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/463a1012c3e22ce40209b9fddd7cd5df4ae0870a tdf#144245 - Case-insensitive operation for non-ASCII characters It will be available in 7.2.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/092740eddd9d2e9b19e4c08f4980a59402e676e1 tdf#144245 - Added test file to automatic test It will be available in 7.3.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Andreas Heinisch committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/c0c9e86f6dd3f222eda468274ab8f4fdc760a1da tdf#144245 - Added test file to automatic test It will be available in 7.2.4. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
7.2.4 was a hotfix release, updating target in status-whiteboard
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/de81c2545aec06a1b269218b7d00656e97d8b66c Related: tdf#144245 Optimize case-insensitive handling It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.