Utf8 encoding issue with Laravel
PHP Snippet 1:
Blade::setEchoFormat('e(utf8_encode(%s))');
PHP Snippet 2:
<meta charset="UTF-8">
PHP Snippet 3:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
PHP Snippet 4:
{!! htmlentities($variable, ENT_QUOTES, "UTF-8") !!}
PHP Snippet 5:
Blade::setEchoFormat('e(htmlentities(%s,ENT_QUOTES,'UTF-8'))');