A
A
Alexey Alekseev2019-08-14 13:18:36
symfony
Alexey Alekseev, 2019-08-14 13:18:36

How to find Cyrillic file in Symfony Finder?

Good afternoon!
I implement file search using SYmfnony Finder Component.

$finder = new Finder();
$finder->files()->in('C:\'); 
$finder->files()->name('TEST.jpg');

Everything is fine while searching for the file name in Latin,
but if the Cyrillic alphabet
$finder->files()->name('ТЕСТ.jpg');
does not get into the search. Is that how it should be? or is there something wrong with me?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question