Welcome! Log In Create A New Profile

Advanced

[WD16] Upper(..) function doesn't work with Umlauts

Posted by Jimbo 
Jimbo
[WD16] Upper(..) function doesn't work with Umlauts
July 04, 2011 06:33AM

The Upper(..) function is broken since long time in case of Umlauts are to be converted to upper case.

Upper("äöüß") will result in "AOUß" which is definitely wrong, it should be "ÄÖÜSZ" to be correct. I'd be content with "ÄÖÜß" because ß is a special case ..

The interesting part is that Edit controls with mask 'UPPER CASE' will correctly convert äöüß to ÄÖÜß

Regards, Guenter
Hello Günther

a workaround for Upper(... :



PROCEDURE cUpper(pZeichenfolge is string)
       s is string
       s=StringFormat(pZeichenfolge,ccUpCase)
       RESULT s


This converts all äöü into ÄÖÜ

Udo
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: