Bug #70551 [Opn->Csd]: UTF-8 filename issue

From: Date: Mon, 08 Aug 2016 09:49:39 +0000
Subject: Bug #70551 [Opn->Csd]: UTF-8 filename issue
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203060@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=70551&edit=1 ID: 70551 Updated by: ab@php.net Reported by: revx at gmx dot de Summary: UTF-8 filename issue -Status: Open +Status: Closed Type: Bug Package: Unicode Engine related Operating System: Windows 7 PHP Version: master-Git-2015-09-22 (snap) -Assigned To: +Assigned To: ab Block user comment: N Private report: N New Comment: Fixed in PHP 7.1. Please test it carefully and report issues in a new ticket. Thanks. Previous Comments: ------------------------------------------------------------------------ [2015-09-22 15:39:06] revx at gmx dot de Description: ------------ If I try to create a directory with UTF-8 characters the result is not as expected. Expected folder name: Яндекс Actual result: Яндекс Even scandir doesn't understand UTF-8 folder- and filenames in PHP 7. How to handle such files with PHP 7? PHP version: 7.1.0-dev (Windows) Test script: --------------- <?php mkdir(__DIR__ . '/Яндекс'); print_r(scandir(__DIR__)); Expected result: ---------------- Array ( [0] => . [1] => .. [2] => Яндекс Actual result: -------------- Array ( [0] => . [1] => .. [2] => ð»ð¢ð┤ðÁð║Ðü ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=70551&edit=1

« previous php.bugs (#203060) next »