Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sending and receiving Arabic over HTTP with indy
#1
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
Reply


Messages In This Thread
Sending and receiving Arabic over HTTP with indy - by Ahmed Sayed - 02-05-2021, 11:36 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)