A
A
Alexander2017-09-22 20:42:16
C++ / C#
Alexander, 2017-09-22 20:42:16

The console displays an obscure font instead of the desired one, how to change it?

cc309e3370f344dc9e5255da39fb9d4a.jpg
how to make it so that it would be displayed enter a number and not this?
and what's the problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Peter, 2017-09-22
@volanSSS

It is necessary to set:
1. Console.OutputEncoding = Encoding.UTF8;
2. Used font in "Lucida Console". Manually in the console window or programmatically, via the SetCurrentConsoleFontEx API function

G
GavriKos, 2017-09-22
@GavriKos

The problem is in the encoding. The easiest option is not to use Russian.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question