How to post Arabic characters in PHP
- by Peter Stuart
Okay,
So I am writing an OpenCart extension that must allow Arabic characters when posting data.
Whenever I post ????? the print_r($_POST) returns with this: u0645u0631u062du0628u0627
I check the HTML header and it has this:
<meta charset="UTF-8" />
I checked the PHP file that triggers all SQL queries and it has this code:
…