Support the ongoing development of Laravel.io →
Installation Configuration

Hello,

I use Str:slug("Tôi yêu laravel") => toi-yeu-laravel (Vietnamese) and have a error:

Error file: /vendor/patchwork/utf8/class/Patchwork/Utf8.php

foreach ($s[0] as &$c) { if (! isset($c[1])) continue; // if ($glibc) // { $t = iconv('UTF-8', 'ASCII//TRANSLIT', $c); // } // else

php info: http://tiectra.vn/info.php

How to fix iconv or php.ini ... ?

Thank you

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

lapiweb lapiweb Joined 4 Apr 2014

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.

© 2025 Laravel.io - All rights reserved.