02-05-2021, 11:36 AM
Hi, I am sending json data from TIdHTTP to TIdHttpServer that contains arabic letters. But all the letters are received like this ???????????
The json text is in a memo so I convert it to stream using this function "WriteStringToStream" with "IndyTextEncoding_UTF8" encoding and yet the result is always bad. I even tested this using POSTMAN instead of TIdHTTP. What is the correct way to convert text with arabic letters to and from TStream using C++ builder Berlin?
Thanks
The json text is in a memo so I convert it to stream using this function "WriteStringToStream" with "IndyTextEncoding_UTF8" encoding and yet the result is always bad. I even tested this using POSTMAN instead of TIdHTTP. What is the correct way to convert text with arabic letters to and from TStream using C++ builder Berlin?
Thanks