MultiPartFormDataStream encoding problem

Giganews Newsgroups
Subject: MultiPartFormDataStream encoding problem
Posted by:  Alexandre (alexandrepires20…@yahoo.com.br)
Date: Tue, 16 Oct 2012

Hi, I'm trying to submit a form via HTTP post with MultiPartFormDataStream.

I'm doing something like this:
MultiPartFormDataStream.AddFormField('message','zé');

In my http analyzer the characters are displayed in this way:
message:  z=E9 (so the accents are not displayed correctly)

When I send the form by webbrowser the characters are displayed in my http
analyser this way:
message:  zé (so the accents are displayed correctly)

Some ideia how to make it work properly ?

I am using indy 10.5.8 and delphi Xe2

Thanks
Alexandre

Replies