-1

I am using json to send data from a website to the database. However, even that it works on all browsers (including IE 11), in IE 11 I don't get characters other than "english".

This is an example

$.getJSON('handler.php?type=contact&page='+page);

How can I fix this thing?

enter image description here

EnexoOnoma
  • 8,454
  • 18
  • 94
  • 179

1 Answers1

0

Well you are not encoding the url parameter so that is an issue.

 $.getJSON('handler.php?type=contact&page='+encodeURIComponent(page));
epascarello
  • 204,599
  • 20
  • 195
  • 236