title: idhttp indy post, do request (parameters) with utf-8
body: <p>I'm trying to post a request, in utf-8 however the server is getting it in Ascii.</p>
  
  <p>Tried the TstringList format of post.</p>
  
  <p>Tried the stream format</p>
  
  <p>Tried forcing the TStringStream to have UTF8 encoding.</p>
  
  <p>Tried updating indy to the xe5 indy </p>
  
  <p>Here is an example code:</p>
  
  <pre><code>var
    server:TIdHttp;
    Parameters,response:TStringStream;
  begin
    response := TStringStream.Create;
    Parameters := TStringSTream.create(UTF8String('param1=Value1&amp;param2=عربي/عرب&amp;param3=Value3'),TEncoding.UTF8);
    Server.Post(TIdURI.URLEncode('http://www.example.com/page.php'),Parameters,response);
  end;
  </code></pre>
  
  <p>Now the Arab coding is passed as Ascii in network sniffer.</p>
  
  <p>0060  d8 b9 d8 b1 d8 a8 d9 8a  2f d8 b9 d8 b1 d8 a8 26   ........ /......&amp;</p>
  
  <p>How can I force Indy Http id to pass the request parameters in Utf-8 and not in Ascii?</p>