-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Console] Restoring the ability to output unicode text to the Win10 console #49987
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
Conversation
Why do you say "restore"? Does the call change some state? If yes, can't we restore the previous cp instead? Aka use |
In this function, before line
|
Strange :)
hardcoding is always an issue, especially when there's a way not to hardcode. Here, this change would break consoles that rely on another CP. Wouldn't my previous suggestion work? |
Also works well (and without hardcoding 65001).
|
We should probably do the same as #41113 (or even reuse if possible). |
…onsole Restoring the ability to output unicode text to the Win10 console after corrupting the console on line 224
Thank you @aleksandr-shevchenko. |
Restoring the ability to output unicode text to the Win10 console after corrupting the console on line 224 in symfony/console/Terminal.php
before


after