Support the ongoing development of Laravel.io →
Views Blade
Last updated 2 years ago.
0

Looks like your file is saved in UTF8 format.

Last updated 9 years ago.
0

how i can see this?

0

In your editor, it depends. What are you using to save this file?

Last updated 9 years ago.
0

What are you using to edit the code? Usually an option when saving the file or under "encoding" or something - that said why not use UTF8?

0

my ide is phpstorm 9.0, on win10

0

here is my encoding config here is my encoding config

Last updated 9 years ago.
0

PHPStorm using UTF8 by default, so even you changed you might find a need to change the default encoding for a specific file.

You might also need to set PHP in that charset as some of the server set UTF8 by default. Tho I don't quite remember if Laravel has this setting somewhere.

As a quick fix.

header('Content-Type: text/html; charset=utf-8');
Last updated 9 years ago.
0

awsp said:

PHPStorm using UTF8 by default, so even you changed you might find a need to change the default encoding for a specific file.

You might also need to set PHP in that charset as some of the server set UTF8 by default. Tho I don't quite remember if Laravel has this setting somewhere.

As a quick fix.

header('Content-Type: text/html; charset=utf-8');

Sorry, i have alredy test it... but don't work... but thanks!

0

Sign in to participate in this thread!

Eventy

Your banner here too?

daorithos daorithos Joined 31 Jul 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.