Processing non-English strings passed through QueryString

MeedlyKerlome

New Member
I'm trying to process Hebrew string passed through QueryString with the classic ASP.The URL I request to:http://www.XXXX.com/myapp.asp?q=????(???? is "peace" in hebrew, a word consisting of 4 letters)On the ASP side I run the following code:\[code\]mstr = Request.QueryString("q")for i=1 to Len(mstr) Response.Write Asc(Mid(mstr, i, 1)) & "<br/>"next \[/code\]This script generates the following output:2151692151562151492151578 ASCII letters, which means two ASCII symbols (bytes) per letter.I need to see the following output:249236229237(The top part of the ASCII table)What should I do to be able processing such strings correctly? (to see 4 letters as it sent in the original string).
 
Back
Top