it managed to work out by changing the content-type header of the aspx/HTML
page as following:
<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">
"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:MP************************@msnews.microsoft.c om...
z. f. <zi**@info-scopeREMSPAM.co.il> wrote:
i need to convert a unicode string to ascii string (in order to put it in
HTML page url )
In .NET, strings are *always* Unicode.
right now the string gets to the page, but when the url clicked (with the
unicode string in a query string parameter) - the page gets to its
destination but showing =3Fפ=3Fר א=3F=3F=3F =3F=3Fת=3F
ש=3F=3F" as the value it got from the url.
so i need probably to convert it to ascii, but how?
You need to find out *exactly* what the problem is first. See
http://www.pobox.com/~skeet/csharp/d...ngunicode.html
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too