If I print in the DEBUG CONSOLE it’s fine, every where else VS code display Hebrew just fine, just when the script print to the TERMINAL the Hebrew is upside down, why?
Update: it works fine when debugging on external terminal
This is a known issue with the VS Code integrated terminal since at least VS Code 1.13.0. See Terminal doesn’t support RTL languages #28571. The regression in that version had to do with new optimizations and features that assume everything is on a grid that only contains half or full-width characters (source). That issue ticket is closed to be tracked upstream in the xtermjs repo: Support RTL languages #701. You can show your support for the issue ticket by giving a thumbs up reaction to the issue. But please don’t make a "me too" comment. "me too" comments generally come off as annoying to repo maintainers because they clutter up discussion and don’t contribute anything of significant value.
For your reference / learning purposes, I found those issue tickets by googling "github vscode issues intgrated terminal right to left text".
2
Answers
Solution (or a work around) I found:
In .vscode/launch.json:
"console": "internalConsole"
save and reload the VScode window, and start debugging again.Source: VS Code starts debugging in integrated terminal instead of debug console
This redirects the output to DEBUG CONSOLE instead of TERMINAL. DEBUG CONSOLE doesn't seem to have this problem.
Another option I haven't tried. It might be good if you don't have the Python VScode plugin: https://github.com/microsoft/vscode-cpptools/issues/9696
This is a known issue with the VS Code integrated terminal since at least VS Code 1.13.0. See Terminal doesn’t support RTL languages #28571. The regression in that version had to do with new optimizations and features that assume everything is on a grid that only contains half or full-width characters (source). That issue ticket is closed to be tracked upstream in the xtermjs repo: Support RTL languages #701. You can show your support for the issue ticket by giving a thumbs up reaction to the issue. But please don’t make a "me too" comment. "me too" comments generally come off as annoying to repo maintainers because they clutter up discussion and don’t contribute anything of significant value.
For your reference / learning purposes, I found those issue tickets by googling "
github vscode issues intgrated terminal right to left text
".