I have a wxTextCtrl being used as a log of sorts; all console outputs are being redirect therein using the following:
I have now internationalised the program for a number of languages; wxWidgets is able to display Arabic elsewhere, but spits out absolute garbage to the wxTextCtrl via any cout statements.
If I use the .Append method it works perfectly but this will involve some serious restructuring/rewriting of code, so I'd rather avoid that.
Is there any way to make the cout streambuffer accept full utf8 strings?
Thanks!