Problem with special characters laravel

3

I'm starting to learn about Laravel 5 and I'm having a problem, every text I write with special characters is converted to ' '.

I have tried all charset configurations from ISO-8859-1 through UTF-8.

Have some way to set this up in laravel so you do not have to type everything with & amp ;; ?

    
asked by anonymous 19.08.2015 / 21:17

3 answers

1

I did not get to use Laravel, but most of the frameworks have a charset configuration (it's worth remembering also that your bank is recommended to be in the same charset).

This link might solve your problem

    
19.08.2015 / 21:24
1

Probably the problem is in the Blade encode (Laravel Template System), goes in the file app/Providers/AppServiceProvider.php and leaves the boot method that way =

public function boot()  
{  
    parent::boot();  
    \Blade::setEchoFormat('e(utf8_encode(%s))');  
}  
    
19.08.2015 / 22:22
-1

I solved it by including the

<link href="//fonts.googleapis.com/css?family=Lato:100" rel="stylesheet" type="text/css">

In my head of the blade master page.

    
20.08.2015 / 08:20