toUpperCase doesn't work with Greek letters (server-side)

Hello All,

(PHP, MySQL)

I submit form data and in my server action I turn them to uppercase for insert/update (using toUppercase() for validation and comparison reasons)
I just realized that if an input filed contains Greek letters then it transformed/changed to something similar (wrong letters etc)
That is happening ONLY if the input field is Greek and small case. So, I suppose it is toUpperCase() related…
(I attach my table properties just in case)
Table_Collation

Is there a way to fix this? Any idea will be much appreciated.

Thanks in advance!

Please add a setvalue step with the input value with the uppercase formatter applied and output its value, what is returned exactly?

Hi @Teodor,

That’s what I am doing brother and I get letters changed…
Just a minute to take screenshot if you need it

That’s why i asked you to post the result here, so we can check how are they changed.

attach tests from Greek and Latin words , also a Greek half Capital word…

greek_input
greek_input_after_UpperCase

english_input
english_input_after_UpperCase

greek_half_Capital
greekHalfCapital_input_after_UpperCase

I attach my server action

They just don’t get to uppercase if letters are Greek small.

Forgot to mention,
Wappler 5.5.1 (WIN-10)

We currently don’t have support for non-latin characters in PHP, please test the following update:

text.zip (1.2 KB) Unzip to dmxConnectLib/lib/formatters

1 Like

Thank you brother for your quick reply!!

I’ll check and inform you about it

It works brother.

Thank you and all the team for your hard effort!!

Wish you all health and success

Fixed in Wappler 5.5.2

1 Like

This topic was automatically closed after 26 hours. New replies are no longer allowed.