Support the ongoing development of Laravel.io →
Configuration Database Eloquent
Last updated 2 years ago.
0

After digging around I found out that this was due to a really silly issue... everything was actually being inserted into the DB correctly, but apparently the MySQL cli doesn't use utf8 by default. Running the cli with the --default-character-set=utf8 flag made everything show up corectly. I hope this saves someone else some time.

Last updated 2 years ago.
0

jacobogreen said:

After digging around I found out that this was due to a really silly issue... everything was actually being inserted into the DB correctly, but apparently the MySQL cli doesn't use utf8 by default. Running the cli with the --default-character-set=utf8 flag made everything show up corectly. I hope this saves someone else some time.

Thanks, your solution is really save hours for me.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.