Bug #72902 [Opn->Fbk]: shell_exec() is not utilizing UTF-8

From: Date: Fri, 19 Aug 2016 23:57:19 +0000
Subject: Bug #72902 [Opn->Fbk]: shell_exec() is not utilizing UTF-8
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-203406@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=72902&edit=1 ID: 72902 Updated by: ab@php.net Reported by: bugzilla77 at gmail dot com Summary: shell_exec() is not utilizing UTF-8 -Status: Open +Status: Feedback Type: Bug Package: *General Issues Operating System: Win10 x64 Polish PHP Version: 7.1.0beta3 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2016-08-19 22:35:18] bugzilla77 at gmail dot com Description: ------------ https://github.com/php/php-src/blob/php-7.1.0beta3/UPGRADING "The recommended way to handle file paths, I/O and other related topics is by utilizing UTF-8." Expected result: ---------------- shell_exec() returns UTF-8 data Actual result: -------------- shell_exec()does not work even in the local system code page. It returns ? instead local letters. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=72902&edit=1

« previous php.bugs (#203406) next »