Black Friday: the Laravel testing course is $149 instead of $249, through Dec 7. See the course →
logo

The right way to fix double encoding in Blade components

The internet often gets it wrong

Joel Clermont
Joel Clermont
2026-04-03

From our daily Laravel tips email. Get the next one in your inbox.

If you've ever seen garbled characters like d'Angelo in a Blade component, you've hit double encoding. The most common advice online is to turn off important security mechanisms, which is not a good idea.

In this video, I track down the real cause and show the simple fix.

Watch Now (5 min)

And after watching, don't forget to subscribe to our YouTube channel, so you don't miss future videos.

Here to help,

Joel

P.S. Speaking of doing security the right way, grab a free copy of our Laravel security book. Get our security book.

Want a tip like this in your inbox every weekday?

Each one takes less than 2 minutes to read. Join 4,000+ Laravel developers who already get them.

email
No spam. Only real-world advice.
Toss a coin in the jar if you found this helpful.