mercredi 16 mars 2016

Not retrieving directories with special characters in Laravel

When I try to retrieve a directory with special characters (accent mark) I do not get any result. I do the following:

$contenido = Storage::disk('archivos')->directories('auto/información');

in my config/filesystems.php

'default' => 'local',
'ftp' => [
        'driver'   => 'ftp',
        'host'     => '127.0.0.1',
        'username' => 'user',
        'password' => 'pass',
    ],

Try using the native php function utf8_encode() But it does not work.

I would appreciate any help.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire