It happens that sometimes I have to write console application in C for Windows, and having only ASCII output is not always an option: basically, I need to have a possibility to perform text output in Ukrainian which is okay when you use UTF-8. Unlike others, Windows use legacy code pages system to make console work with natural languages text in different countries with different localisations, and that's a weird thing for Linux/Mac user. I work in Qt Creator when coding in C, and it brings another tricky thing: qt_process_stub.exe - a nasty utility which is run from the IDE, which actually runs your app. My task was to find a non-tricky solution to have a possibility to work seamlessly when debugging my C programs from Qt Creator. Step 1: Changing the font Most of Windows developers possibly know that there's a default font in Windows cmd.exe ( which is a terminal itself) that does not support UTF-8 encoding (yeah...), so the first thing you have to do is to run cmd
Thoughts on programming, software design and software development process