Hi, I'm running a flash game on asp.net frame. The flash is sending parameters to some asp.net page that save those parameters to a database. My problem is that if the parametrs contain special chars (Russian, Arabic...) then those chars are transform to question marks (?) I've tried to urldecode the parameters but without any help.
The parameters that sent from the Flash are in unicode format and are urlencoded.
The asp.net code is:
string pp4 = "";
if (Request.Form["param4"] != null) { pp4 = Server.UrlDecode(Request.Form["param4"]); } ... ... ...
sql = "INSERT INTO Facebook (uName) VALUES ('" + pp4 + "')";
cmd = new SqlCommand(sql, conn);
cmd.ExecuteNonQuery();
Any one has an idea how to solve this ?