Fixes #11735. Enable printing unicode using pragma msg
Merge pull request #2959 from yazd/fix-11735

Issue 11735 - pragma(msg, ...) fails to print wstring, dstring