G
G
German2019-04-03 17:09:20
C++ / C#
German, 2019-04-03 17:09:20

How to make PDcurses and Russian language friends?

For some reason, the Russian language in pdcurses refuses to work .
My test code.

#include <curses.h>
#include <clocale>

int main()
{
  setlocale(LC_ALL, "");
  initscr();
  printw("Русский язык");
  getch();
  endwin();
  return 0;
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question