P
P
prohoroffff2015-11-20 21:55:10
C++ / C#
prohoroffff, 2015-11-20 21:55:10

How to output Cyrillic in C (not C++)?

How to force the C compiler (Visual Studio 2010) to output Cyrillic?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
Roman Meshcheryakov, 2015-11-20
@prohoroffff

Write in main:
Also add the locale library
#include <locale.h>

O
OnYourLips, 2015-11-20
@OnYourLips

Head-on solution: you need to switch the editor to a different encoding (to the one in which the text will be output to the console).

D
deleted-StrangerInRed, 2015-11-26
@deleted-StrangerInRed

if it's POSIX then printf("That's a UTF-8 string, Carl\n")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question