Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ronok's avatar
Level 1

Composer update causes Malformed UTF-8 characters, possibly incorrectly encoded

After updating my filament 3 app I am getting "Malformed UTF-8 characters, possibly incorrectly encoded", when I submit a form. Struggling really long already to get this solved, but I don't know how anymore. The problem is I don't know where to start to debug? Maybe someone could help?

0 likes
5 replies
Sinnbeck's avatar

You could start by giving us an example. What form, what input, and what output and where (database?)

1 like
ronok's avatar
Level 1

Thanks for your answer. I already tried to comment out different lines of code, but no success finding the error.

This form is affected.

What do you mean with where database? I am using a mysql database

ronok's avatar
Level 1

Found out its this here ...\LaraZeus\Qr\Facades\Qr::getFormSchema('url', 'options', '', false), but I dont know how to resolve it.

Sinnbeck's avatar

@ronok i am asking where you are seeing the malformed data. In the database? Or in an input field? What are you typing and what comes out malformed?

1 like
ronok's avatar
Level 1

@Sinnbeck The package is the problem, because it has a different data structure (array looks not the same anymore) after updating it. Thanks for your help!

Please or to participate in this conversation.