How do I fix this Ή

0 votes
asked Sep 6, 2018 by jpenn (150 points)

Using the terminal emulator, I am getting these characters when pulling up a graphical screen:

Ή Ή Ή Ή Ή

It's only doing on the graphical screen. It pulls up in putty fine.

I have the default ANSI and xterm set.

Thanks

1 Answer

0 votes
answered Sep 6, 2018 by Lukas Matyska (51,690 points)
selected Sep 6, 2018 by jpenn
 
Best answer

Please, try to set different encoding. It is probably UTF-8. It can be done like this:

terminal.Options.Encoding = System.Text.Encoding.UTF8;
commented Sep 6, 2018 by jpenn (150 points)
That was it. Thanks!
commented Dec 20, 2018 by andy.trayler (130 points)
is there a default value for the encoding value if it is not explicitly set?
commented Dec 20, 2018 by Lukas Matyska (51,690 points)
Default value is Encoding.Default, which depends on your computer locale settings.
...