If you use Printf(), Qprintf(), and QPuts(), output will be according to the //UnicodeOutput and //UTF8Output option settings. (It's worked that way for the last several versions.)
As for reading input from a file, I think you need to handle that yourself. One way is to call MultiByteToWideChar() with CodePage set to CP_UTF8.