Force UTF-16 output.
authorIain Patterson <me@iain.cx>
Thu, 9 Jan 2014 09:56:24 +0000 (09:56 +0000)
committerIain Patterson <me@iain.cx>
Thu, 9 Jan 2014 10:12:12 +0000 (10:12 +0000)
commit153133aedadde24a5836707caa3ae3632e422ef3
tree67cbe1bd8e62c65b956829c66aa69057ef4605f3
parent953c1a429d966133c9d03fc983c9098c4b67b9c2
Force UTF-16 output.

If we were compiled as a Unicode application, set stdout and stderr
output mode to UTF-16 text.  Doing so allows French and Italian accented
characters to show up correctly on the console.

We currently have no analogous method for fixing the output of NSSM when
compiled as an ANSI application.
nssm.cpp
nssm.h