Alan
Alan

Reputation: 5189

How to show arbitary characters in c?

warning C4566: character represented by universal-charac ter-name '\u2E81' cannot be represented in the current code page (936)

Sometimes we need to display text in various languages such as Russian,Japanese and so on.

But seems a single code page can only show characters of 1 single language ,how can I show characters in various languages at the same time?

Upvotes: 2

Views: 144

Answers (1)

Jerry Coffin
Jerry Coffin

Reputation: 490198

Since you're (apparently) using VC++, you probably want to switch to the UTF-8 code page. You'll also need to set the font to one that has glyphs for all the code points you care about (many have few if any beyond the first 256).

Upvotes: 2

Related Questions