My apologies for posting this in the wrong section. Had I read the forum instructions in more detail I would have known to post this newbie question in the "Using Code::Blocks" section instead. Feel free to move or delete this thread.
Thank you Tim for pointing me in the direction of compilers. I would have not considered that to be the issue otherwise and now I appreciate the difference between Code::Blocks and compilers. I am using the mingw32-g++ compiler that came packaged with my C::B installation. To confirm 100% that my issue is compiler-related, I installed MinGW properly and ran my program via that path, no C::B involved.
Indeed, the same garbled text got printed even without the C::B. The only difference is that the erroneous symbol € became a padding space. While my newly installed MinGW compiler appears to be from 2017, with the compiler in the C::B package being from 2015, I am still assuming that my issue is indeed the compiler.
Searching for the solution on the forum has proven fruitless on my end however. I've tried searching using keywords like "unicode", "compiler", "encoding", "wide character" etc but nothing presents itself to me as the solution. Granted I could be reading the solution and still not know it's there, due to how new I am to the world of programming.
The closest that my eyes signal as potentially related to the solution are these wiki pages:
-
Unicode Standards-
Code::Blocks variable types synthesisThere is a lot of talk about this "wxWidgets" thing all over the forum. Is it recommended that I install that and learn how it works? Will that bring me closer to the solution?
I shall not try the patience of the forum beyond this post but once again I appreciate any pointers in the right direction. Thanks in advance.