Greetings,
I have occasionally wanted to create a Terminal program that uses Greek letters, superscript and subscript numbers and some scientific symbols. I found that this can easily be done using Unicode. Additionally, C and C++ handle Unicode as wide characters (wchar_t) and have many functions available for handling them. So, naively, I thought this would easily solve my problem and I could write my program. But I'm not so lucky. And thus began the 2020 Console Video project (COVID-20). (2020 because I started working on it in 2020).
As anyone who has tried to use Unicode or wide characters in C or C++ will soon discover your Terminal will not display Unicode or wide characters correctly. It turns out that not only does displaying these characters properly depend on what OS you are using, it depends on what compiler you use. So I have created the single header "unicoder.h" that hides the dirty work from you by figuring out what OS (Windows or Linux) and compilers, IDEs (Pelles C or see listing included in documentation for others) you are using and then setting things up so that you can display wide characters and Unicode easily. It also includes many definitions of Unicode characters for your convenience.
I have also added some features to Unicoder that let you turn on/off underline, bold fonts and color font/background, etc..
On the off chance someone might be interested in using Unicode or wide characters you can find Unicoder here:
https://github.com/sthomasbradley/UnicoderI am announcing this here solely because I included Pelles C as one of the IDEs I tested. I am aware that Pelles C does quite a nice job handling Unicode.