0

What my php page does.

  • A post request comes from other site and it may contain text in language other then english.
  • Now I am sending this content to GoogleSpreadsheet but here the other language character becomes ?(question mark).
  • I have set header to UTF-8 but still not worked

Can anyone help ??

Code snippet :

header('Content-Type: text/html; charset=UTF-8');
$name= $_POST['name'];
$row=array('no'=>123,'name'=>$name);
$listFeed->insert($row);
Bharat
  • 220
  • 1
  • 2
  • 9

0 Answers0