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

Daaaaad's avatar

Malformed UTF-8 characters on Windows

Hello,

I'm running Laravel + Spark on Windows (IIS) and I'm getting this error message :

Malformed UTF-8 characters, possibly incorrectly encoded

When submitting the registration form...

Everything is workin well on my dev environment (Homestead Mac) and my local/production database have the same charset/collation.

Can you help?

0 likes
1 reply
Daaaaad's avatar

Forgot to mention that the error is triggered in vendor\laravel\framework\src\Illuminate\Http\JsonResponse.php line 75

Please or to participate in this conversation.