Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedApr 10, 2023
Why do you say "restore"? Does the call change some state? If yes, can't we restore the previous cp instead? Aka use |
aleksandr-shevchenko commentedApr 10, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
In this function, before line |
nicolas-grekas commentedApr 11, 2023
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? |
aleksandr-shevchenko commentedApr 11, 2023 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Also works well (and without hardcoding 65001). |
chalasr commentedApr 11, 2023
We should probably do the same as#41113 (or even reuse if possible). |
…onsoleRestoring the ability to output unicode text to the Win10 console after corrupting the console on line 224
nicolas-grekas commentedApr 12, 2023
Thank you@aleksandr-shevchenko. |


Uh oh!
There was an error while loading.Please reload this page.
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