-
Notifications
You must be signed in to change notification settings - Fork 365
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
Display Issues on Windows 10 (garbage characters) #85
Comments
@danielverejan |
No. I have not. |
I had the same window appearance as W10 Command Prompt and W10 Power Shell in Putty using UTF-8 encoding. After switching it to ISO-8859-1, the dashboard looks correct. |
@signothefish you are the man! I tried your method to change W8.1 Command Prompt's code page to 437 (United States) and it works. For people who want to try, I suggest to set code page in .bat because it won't change the default code page of command prompt. Here is my .bat for reference @echo off
call chcp 437
call npm run server.js
pause |
Without delving too deep into the code / related tech, some of these issues could potentially be solved if we had the option of getting the output as UTF-8 -encoded instead of ANSI. |
@signothefish, maybe that solution will be helpful for PuTTY:
export NCURSES_NO_UTF8_ACS=1 export LC_ALL=en_US.utf8 |
What are thoughts on migrating to https://github.com/Yomguithereal/react-blessed? |
@amilajack it's already using blessed, but this is a webpack dashboard, not necessarily anything to do with React. |
@amilajack I started with react-blessed, but the feature set required dropping down to regular blessed |
gave me the best results in ConEmu on Windows 10 with webpack-dashboard running inside docker container. |
No recent activity after the workarounds above were posted, so closing. Please feel free anyone to open document PRs if useful, or new issues if there's something in |
vscode recently started doing this for me... If I run it in terminal (osx) I don't have any issues. |
On Windows 10, I'm having display issues in the Command Prompt, PowerShell and different issues in Git Bash. Garbage characters are affecting the display, which you can see in the screenshots below.
Related issues
Windows 10 Command Prompt
Windows 10 PowerShell
Git Bash on Windows 10
Steps to reproduce the problem
TERM
environment variable set. Note: settingTERM=windows-ansi
fixes the problem in the Command Prompt as well as PowerShell, but not Git Bash. Also, I don't see this as a long-term solution.Please provide a gist of relevant files
https://gist.github.com/jedmao/19cd1eef1b830d53a7857e00b5e30f5a
More Details
echo $TERM
?process.env.TERM === undefined
See also: Example does not work on windows chjj/blessed#238 (comment)process.env.TERM === undefined
See also: Example does not work on windows chjj/blessed#238 (comment)xterm
Note: a
console.log
before these lines inblessed
shows the following in Windows Command Prompt:The text was updated successfully, but these errors were encountered: