Hello,
I have some problem with XDataClient.List and German Umlauts. Here my code:
aGebaeudeArt := 'Hauptgeb?ude';
lGebaeudeList := LXDataClient.List<TTBL_GEBAEUDE>('$filter=HAUSTXT%20eq%20'+ QuotedStr(aGebaeudeArt));
Result was: Exception EEncodingError mit Meldung 'Keine Zuordnung f?r Unicode-Zeichen in der Multibyte-Zielcodeseite vorhanden'
Same Exception was comming if I use position as filter ?
What can I do for searching words with Umlauts ?
Hello Jens,
You must provide the value using percent encode, if you know there is a possibility you will have non-ASCII characters in it:
lGebaeudeList := LXDataClient.List<TTBL_GEBAEUDE>('$filter=HAUSTXT%20eq%20'+ TSparkleUtils.PercentEncode(QuotedStr(aGebaeudeArt)));