On 08/11/2021 12:35, Денис Романенко wrote:
What happens if you use anything else on the CLI that isn't PHP? A BASH script, for example?I think it's a Linux-based issue - I reproduce the "minimal environment" on a VPS server.If someone is interested to try, I can give access to it.
It's a clean Ubuntu 20.04 installation with installed PHP 8 from ondrej/php.Even if you just start "php -a" and try to paste "Ondřej Surý" in CLI it will appear like "Ondej Sur" - non-ASCII symbols just not pasted.
And there not such problem with php 7.4
пн, 8 нояб. 2021 г. в 18:12, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>:
On 08/11/2021 05:43, Денис Романенко wrote:
The shell shouldn't be affected by upgrading PHP. Were any Windows updates (or others related to upgrading the PHP version) also done at the same time?After upgrading to PHP 8 in my WSL 2 I was stuck with a strange problem: I can't input any non-ASCII characters in shell, nor in interactive shell and PsySH.
In simple words: if I try to input in shell "
Привет
" - russian letters just not get in terminal.
I tried Russian, Serbian, Chinese and some unicode symbols. Can't input from keyboard or paste from clipboard.
I have this behavior in Ubuntu 21.10, 20.04 (bare metal) and 20.04 (WSL2). In Mac OS - everything is fine. I use php from "ondrej/php".
Does anyone encounter this problem or have a workaround for it?
*****
Best Regards, Denis
-- Ashley Sheridan https://www.ashleysheridan.co.uk
-- Ashley Sheridan https://www.ashleysheridan.co.uk
everything works fine, bash and node interactive cli take russian symbols without problem
пн, 8 нояб. 2021 г. в 21:44, Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>: