mihnita / ansi-econsole

Eclipse plugin that understands ANSI escape sequences to color the Eclipse console output.
http://www.mihai-nita.net/java/
Other
91 stars 25 forks source link

Console prints some extended unicode glyphs as 'unknown' #84

Closed Zloten closed 2 years ago

Zloten commented 2 years ago

Ex. Unicode Character “─” (U+2500) is printed as 'unknown char' glyph (empty rectangle □). The standard console does print it. Use 'Droid Sans Mono' containing this glyph. For 'Consolas' it prints valid.

mihnita commented 2 years ago

Can you please clarify what:

The standard console does print it.

This plugin does not change the standard console, only adds colors to it. It is the exact same console that is used without the plugin installed.

If a glyph shows with one font, but not with another, then the most likely explanation is that the font does not have the glyph.

In this case it is very easy to check.

Go to https://fonts.adobe.com/fonts/droid-sans-mono and in the "Sample Text" paste the character with the problem. It shows as missing glyph:

image

mihnita commented 2 years ago

TLDR: the 'Droid Sans Mono' font does not seem to contain the desired glyph.

You can also try to uninstall this plugin and see if the glyph shows (using the exact same font that didn't work before).