@Adam D. Ruppe
I suggest you use string instead of dstring, because utf-8 (string) has better output support than utf-32 (dstring), and both support the complete unicode character set.

Tried string and wstring. Both had the same results as my dstring.

On Windows, the api call SetConsoleOutputCP will help

http://msdn.microsoft.com/en-us/library/windows/desktop/ms686036%28v=vs.85%29.aspx

The magic number for UTF-8 is 65001. (see here: http://msdn.microsoft.com/en-us/library/dd317756%28v=VS.85%29.aspx )


How/Where would I call this?


I am using 64-bit Win7

As for the console, I do my D development with MonoDevelop, so it's the console used in that. I looked, but I didn't see any settings relating to this.


Thanks for your help guys!

Reply via email to