Hello,

I have a little problem with the escape function.
Here is my code:

function saveData()
{
 new Ajax.Request("post.php",
                                  {method:"post",
        
parameters:'message='+escape(document.getElementById("shoutitmessage").value)
                                  }
                                  );
}

If I have the escape function in my script I can't post some
characters e.g. ä,ö,ü,ß but if I don't have this function in my code I
can't post ?,& but I can post ä,ö,ü,ß.

Has anybody an idea how to solve this problem?

Thank you!

Gabriel


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to