TScHttpWebResponse (accented characters)
Method ScHttpWebRequest1.GetResponse.ReadAsString expects response to have a UTF-8 encoding, and decodes them as UTF-8.
You may get response content "as-is" by using
You may apply encoding as follow:
uses ...CLRClasses
...
var
Buf: TBytes;
Str: string;
...
buf := ScHttpWebRequest1.GetResponse.ReadAsBytes;
Str := Encoding.GetEncoding(28591).GetString(Buf, 0, Length(Buf));
...
Where 28591 is an ISO 8859-1 CodePage identifier as described
here.
Related Articles
How to change my account password
Follow these steps to update your password quickly and easily: Sign In to Your Account: Log in to your Devart account using your current email and password. Navigate to the Security Settings: Go to your Profile section and select Security Information ...
how to work in Power Query using odbс driver
Connect to an ODBC source. In the Power BI Desktop Home tab, select Get Data> to connect to an ODBC source. From the list of available connections, select the required DSN connection created in ODBC-Administration You can familiarize yourself with ...