-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Console cyrillic input chars #37619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could not represent. Need more info about env: OS, PHP version. If it's a dockerized app it would be good to have image data. |
|
Please upgrade to version 5.1.3. See #37385. This should fix your issue. |
Maybe it only my problem with my cmd/powershell, idk anyway |
I don't really understand what do you mean by writing the question marks instead the input: the question marks is written and when you type these characters, the default input is printed? Maybe the CMD does not support these specific characters. Can you try this example in a simple PHP script? <?php
echo 'Type here: ';
$input = readline();
echo $input; |
Yeap, as expected, got me same input |
Nope, output writes questions marks |
So, it's not your terminal that throw this issue apparently. However you should investigate about the encoding with |
Hi @infureal! I've done some tests on my local machine but I did not find any solution for your issue 😔 However, there is some code page which works: 855 and 866 that you can define with the function |
@YaFou |
Symfony version(s) affected:
symfony/[email protected]
Description
Cannot pass cyrillic chars to console input.
How to reproduce
Output
The text was updated successfully, but these errors were encountered: