orf / gping

Ping, but with a graph
MIT License
10.75k stars 313 forks source link

encoding broken in windows 10 2004 DE #81

Open cyptus opened 3 years ago

cyptus commented 3 years ago

Windows 10 2004 DE does display a wrong character:

image

mikekpl commented 3 years ago

Same wrong encoding for me, Windows 2004 OS Build 19041.630. You can however try their new terminal @cyptus https://github.com/microsoft/terminal

hbina commented 3 years ago

I assume this is a problem with tui-rs?

stylemessiah commented 3 years ago

Yup looks terrible on Windows, nice idea though

saurabh-kumar88 commented 3 years ago

Same problem... looks terrible on windows systems.... I am using windows 10 gping

saurabh-kumar88 commented 3 years ago

Correction : Windows users, don't use old cmd promt Use windows new Terminal from windows app store instead... (called powershell) Here is the Updated result..... gping

stylemessiah commented 3 years ago

Correction : Windows users, don't use old cmd promt Use windows new Terminal from windows app store instead... (called powershell) Here is the Updated result..... gping

Can't install windows terminal on windows 10 enterprise

ThePotato97 commented 3 years ago

Correction : Windows users, don't use old cmd promt Use windows new Terminal from windows app store instead... (called powershell) Here is the Updated result..... gping

Can't install windows terminal on windows 10 enterprise

Can you install msixbundles? https://github.com/microsoft/terminal/releases

stylemessiah commented 3 years ago

Correction : Windows users, don't use old cmd promt Use windows new Terminal from windows app store instead... (called powershell) Here is the Updated result..... gping

Can't install windows terminal on windows 10 enterprise

Can you install msixbundles? https://github.com/microsoft/terminal/releases

Nope

SagarMakol commented 3 years ago

Correction : Windows users, don't use old cmd promt Use windows new Terminal from windows app store instead... (called powershell) Here is the Updated result..... gping

I just downloaded the latest release for windows 10 but it isnt working. It just shows a blank window in cmd and when I run it from CMD, then it doesnt recognise the command 'gping'. can you help ?

jantari commented 1 year ago

I know this issue is old but I just wanted to say that this isn't even an issue with the terminal being used, just the font.

Windows 10 built-in terminal (conhost) is set to "Consolas" font by default which does not support these braille glyphs. Simply changing to a font with broader glyph support such as the built-in "Cascadia Code" or any nerdfont fixes this: image

Of course the newer Windows Terminal is still preferable for many other reasons, but this is just a matter of different default fonts being used in the two. Maybe adding a note to the README about using non-super-basic fonts would help as this could affect users on all platforms, but this issue can be closed for sure as user-error