C++17 : codecvt deprecated. Panic?

P0618RO:  “…The entire header <codecvt> (which does not contain the class codecvt!) is deprecated, as are the utilities wstring_convert and wbuffer_convert. These features are hard to use correctly, and there are doubts whether they are even specified correctly. Users should use dedicated text-processing libraries instead…”

C++17 : codecvt deprecated. Panic?  Please don’t. My advice is to “stay cool calm and collected and all things will fall into place”. Read on. Continue reading “C++17 : codecvt deprecated. Panic?”

C++ Windows Unicode Console Output

2018JAN10 Note: I have this in a form of a modern C++ lib. It is just not yet presentable. Stay tuned.

Note: bellow is (some kind of) research notes in reverse chronological order. Newest on the top. So what is bellow might be invalidated with what came latter or up that is.

Note: Choice of  console font is here what gives results to this problem. Yet another unknown in the windows console equation, but alas necessary. Yes my lib to be released allows for console font change too.

Note: After decades of substandard console experience, users of Windows REDSTONE 4 will at last experience an much improved console. ANSI color escape codes and the rest.  We shall see and test again.

By default, Windows console is not Unicode capable.

if you are surprised by this and you are a beginner to a mid-level C++ developer, I might suggest you want to read this post.
Continue reading “C++ Windows Unicode Console Output”