When I try to search something like C&A the only query I get in Google is C…
How can I make this JavaScript convert special characters?
function search_google()
{
window.location = "http://www.google.be/search?q=" + document.google.search.value;
}
You can use encodeURIComponent: