Description: Error in Basic Instr function in case of case insensitive search with non-Latin letters. Steps to Reproduce: Run macro: Sub TestInstrFunction() MsgBox Instr(1, "α", "Α", 1) End Sub Actual Results: Result is 0. Expected Results: Must be 1. Arguments - Greek letter alpha (uppercase and lowercase). There is no error with Latin letters. Reproducible: Always User Profile Reset: No Additional Info: -
source code pointer: https://opengrok.libreoffice.org/xref/core/basic/source/runtime/methods.cxx?r=3482f590#888
Yes, the toAsciiUpperCase and toAsciiLowerCase functions MUST NOT be used when processing texts containing Unicode characters with codes>= U+0080.