The web site is in hebrew with Windows-1255 encoding.
Using Firefox's Tamer Data extension, i see that one of the Post parameters is:
+++++++++%E4%FA%E7%E1%F8+++++++++
using this table I translated it to hebrew:
+++++++++התחבר+++++++++
Now, I want to send it as post data:
HttpWebRequest request = (HttpWebRequest)WebRequest.Create(url);
string param =;// What should I set here? should i type in hebrew? should i conver it to hex?
//Should I type +++++++++%E4%FA%E7%E1%F8+++++++++ or maybe %E4%FA%E7%E1%F8?
string postData = string.Format({0}={1}",param,value);
byte[] byteArray = Encoding.UTF8.GetBytes(postData); //what encoding to use?
request.ContentType = "application/x-www-form-urlencoded";
request.ContentLength = byteArray.Length;
Stream dataStream = request.GetRequestStream();
dataStream.Write(byteArray, 0, byteArray.Length);