Our editors upload content to our database via a admin panel. however they copy the text directly from MS Word which is where i suspect this problem is coming in. however the admin panel was developed by another developer and i dont have the means currently to update it.
When i pull a title from the database it displays as:
Google’s instead of Google's
My Charset
<meta charset="utf-8">
My section of the controller where i retrieve the data:
$article = Article::where('id', $article_id)->first();
return view('articles.view')->with('article', $article);
Displaying the data in my blade file:
{!! $article->title !!}
I had a previous StackOverflow question about this matter: PHP: getting “SSA's” instead of “SSA's”
Iv tried the answers from the above but no luck.
{!! html_entity_decode( $article->title ) !!}
{!! htmlspecialchars_decode( $article->title ) !!}
any help regarding this issue would be appreciated.