1
Guys I’m facing a problem with UTF8 coding, I don’t know what happens. When I print the text through the controller it is correct this way http://prntscr.com/ofcemt.
But when I move the text to the view
return view('pagina_texto', compact('title','textoexemplo'));
Text loses UFT8 encoding and looks like this http://prntscr.com/ofce0t
Try printing like this:
{!! $textoexemplo !!}
– adventistaam
Thank you very much friend. God was just that. He would know to tell me the difference between {!! $textfor !! } and the form it was using {{ $texte }} ?
– Rafael
In the
{!! !!}
You save text in the bank with html code that it understands, already in {? }} brings exactly the saved text– adventistaam