]> git.ipfire.org Git - thirdparty/openvpn.git/commit
set Windows environment variables as UCS-2
authorHeiko Hund <heiko.hund@sophos.com>
Wed, 7 Dec 2011 17:59:21 +0000 (18:59 +0100)
committerDavid Sommerseth <davids@redhat.com>
Sun, 5 Feb 2012 16:24:19 +0000 (17:24 +0100)
commita23f8579d37186559d3e1f6cd87a27b2331d4766
tree2573426ee5b3a78beab6b9668e925d62da7789a5
parent04d66ef064d5ac1ade4b30329b87239aac95d821
set Windows environment variables as UCS-2

Windows uses 16 bit wide characters to represent Unicode in the
process environment. Convert UTF-8 to UCS-2 and use the wide
character API to set environment variables.

Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
misc.c