[Console] Restoring the ability to output unicode text to the Win10 console#49987
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