Bug #81598 [NEW]: Cannot input unicode characters in PHP 8 interactive shell

From: Date: Mon, 08 Nov 2021 12:15:41 +0000
Subject: Bug #81598 [NEW]: Cannot input unicode characters in PHP 8 interactive shell
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-237603@lists.php.net to get a copy of this message
From:             7snovic at gmail dot com
Operating system: Ubuntu 20
PHP version:      8.0Git-2021-11-08 (snap)
Package:          *Unicode Issues
Bug Type:         Bug
Bug description:Cannot input unicode characters in PHP 8 interactive shell

Description:
------------
When trying to use PHP in the interactive mode in PHP 8 you can not type
any non-ASCII character like Arabic, Chinese and other languages.

$ php8.0 -a
echo "اهلا";

will copy echo ""; only into your terminal.

$ php7.4 -a
echo "اهلا";

will copy "اهلا"; into your terminal.

another references:
https://stackoverflow.com/questions/69882515/cannot-input-unicode-characters-in-php-8-interactive-shell

https://stackoverflow.com/questions/69750044/php-8-shell-cant-input-non-ascii-chars


-- 
Edit bug report at https://bugs.php.net/bug.php?id=81598&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=81598&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=81598&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=81598&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=81598&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=81598&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=81598&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=81598&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=81598&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=81598&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=81598&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=81598&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=81598&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=81598&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=81598&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=81598&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=81598&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=81598&r=mysqlcfg


Thread (13 messages)

« previous php.bugs (#237603) next »