1

I am rendering articles from database. But it shows special characters on page.

ex. ‘MINORITY’ CAN SHOW THE ‘MAJORITY’ WHO IS IN CHARGE!

I am using laravel 5.2 and mysql. How can I avoid this ? I have used following in , But it doesn't resolved problem.

<meta charset="utf-8">

Also tried, echo $newtitle = html_entity_decode($string, ENT_QUOTES, "UTF-8");

Please help!

Online
  • 71
  • 1
  • 8

0 Answers0