Problem POSTING hebrew letters

J

Julia

Hi,although I am posting use a .NET class I would like to ask you if there
is something special need to be done on the ASP side
in order to be able to read Hebrew characters from the request
when debugging fro Interdev I get gibberish


here is my problem

I am calling an ASP page from a NET application,and it seems that the hebrew
characters are being lost

here is my code:

string url....

string strPost....




HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create(url);

objRequest.Method = "POST";

byte[] data = Encoding.UTF8.GetBytes(strPost);
objRequest.ContentLength = data.Length;
objRequest.SendChunked=true;

objRequest.ContentType = "application/x-www-form-urlencoded";
try

{

System.IO.Stream stream=objRequest.GetRequestStream();

stream.Write(data,0,data.Length);

stream.Close();

}

:

:

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top