Bug 135020 - LOWER(), UPPER(), PROPER() functions does not work correctly on Turkish character capital 'i' (İ)
Summary: LOWER(), UPPER(), PROPER() functions does not work correctly on Turkish chara...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Calc-Function
  Show dependency treegraph
Reported: 2020-07-21 13:27 UTC by Ali Geyik
Modified: 2021-03-17 04:21 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Formula screenshot (24.76 KB, image/png)
2020-07-21 13:29 UTC, Ali Geyik

Note You need to log in before you can comment on or make changes to this bug.
Description Ali Geyik 2020-07-21 13:27:34 UTC
LOWER(), UPPER(), PROPER() functions does not work correctly on Turkish character capital 'i' (İ). Correct Turkish letters in lower and upper order and from top left to bottom right keys(QWERTY TR keyboard): ıIğĞüÜşŞiİöÖçÇ

Steps to Reproduce:

Actual Results:
After LOWER -> ıiğğüüşşiİööçç
After PROPER -> Iiğğüüşşiİööçç

Expected Results:
After LOWER -> ıığğüüşşiiööçç
After PROPER -> Iığğüüşşiiööçç

Reproducible: Always

User Profile Reset: Yes

OpenGL enabled: Yes

Additional Info:
LibreOffice c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
Comment 1 Ali Geyik 2020-07-21 13:29:44 UTC
Created attachment 163368 [details]
Formula screenshot
Comment 2 Ming Hua 2020-07-21 14:33:45 UTC
Reproduced with Turkish UI on Windows 10:
Version: (x64)
Build ID: c01aa64b6c3d89ebe5fe69c28c7adb24eb85249c
İşlemci süreçleri: 2; İşletim Sistemi:Windows 10.0 Build 18363; UI gerçekleyici: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: tr-TR
Calc: threaded

This feels like a l10n issue to me.  The character "i" should be coverted to "I" by UPPER() in most locales, and Turkish environment is an exception.  Since there is no way to label a string as specific language (that I know of) in Calc, using the UI locale seems a reasonable choice.
Comment 3 Xisco Faulí 2020-07-21 16:25:17 UTC
Also reproduced in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 4 Julien Nabet 2020-07-22 19:57:57 UTC
Let's give a try with https://gerrit.libreoffice.org/c/core/+/99255
Comment 5 Julien Nabet 2020-07-23 07:44:46 UTC
It's really not sure the patch is ok so let's unassign just in case someone would have the right fix.
Comment 6 Julien Nabet 2020-07-23 08:04:02 UTC
Just for info, I abandoned the patch, too much complicated.
Comment 7 Eike Rathke 2020-08-17 10:02:17 UTC
@Ali: to make sure, are you running LibreOffice in a Turkish locale? Otherwise the I->ı and i->İ can not happen. Note that is *not* related to UI language (and should not be). See output of Help->About, it should contain tr-TR for Locale.
Comment 8 QA Administrators 2021-02-14 04:04:40 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2021-03-17 04:21:03 UTC
Dear Ali Geyik,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team