Bug in UPPER Case Conversion using spanish characters

Hello
I believe I have found a bug when typing accents in spanish for example : FUNDACIÓN using UPPER Case conversion, it adds an extra “´” at the end of the string, for each letter with a ´over it.
So for example if I type: COMPARACIÓN DE FUNDACIÓN it will replace it with: “COMPARACIÓN DE FUNDACIÓN´´´”. This happens with Safari web browser but not Chrome.

Screenshot 2023-04-21 at 06.09.02

Is this known?

Hi,

Unfortunately, I can’t reproduce the problem. Both Chrome and Safari work as expected for me. The code that handles the conversion is straight forward::

protected String applyCaseConversion(String text) {
    if ("UPPER".equals(caseConversion)) {
        return text.toUpperCase();
    } else if ("LOWER".equals(caseConversion)) {
        return text.toLowerCase();
    } else {
        return text;
    }
}

What Safari version do you use?

Regards,
Gleb

Hi, Safari 16.4.
Yes, others have not been able to reproduce the problem, so it might be some configuration on my Macbook. Anyway, it’s also working with Chrome here so we will use that.

Thanks!

1 Like