Nationality characters encoding problem

Hello,


I have a problem with encoding chars in czech language. Data in rensponse from server a corrupted.
        {
            "$id": 6,
            "@xdata.type": "XData.Default.worker",
            "id": 6,
            "bar_id": "1005",
            "name": "Pelikán Aleą"
        }

I try convert database to utf8, but problem stay.
as database component IS Unidac of DevArt

Any idea?

Thank you

How is your entity class declared? Try setting Name property to WideString type, or use

uses Aurelius.Global.Config;


TGlobalConfigs.GetInstance.MapStringToNationalChar := true;

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.