Added UTF-8 functions.
authorIain Patterson <me@iain.cx>
Fri, 22 Jul 2016 14:47:52 +0000 (15:47 +0100)
committerIain Patterson <me@iain.cx>
Thu, 28 Jul 2016 15:48:22 +0000 (16:48 +0100)
commit800ca0c4f150de75c38c87a59d18878b0341f16b
treebabf3f565e5353a9e682d9706ecec55b8c9c87ef
parentde4b96ffd6540465792360be7bc2ac18719fd274
Added UTF-8 functions.

We want to use UTF-8 everywhere.  To that end we use new functions that
will convert strings between UTF-8 and UTF-16.

Before doing anything at all we set the console, if we have one, to
codepage UTF-8.  Before exiting we restore the console codepage to
whatever it was before.
console.cpp
console.h
nssm.cpp
nssm.h
nssm.vcproj
service.cpp
utf8.cpp [new file with mode: 0644]
utf8.h [new file with mode: 0644]