]> git.mxchange.org Git - simgear.git/commit
Use wide-string APIs on Windows.
authorJames Turner <zakalawe@mac.com>
Mon, 4 Jul 2016 16:23:42 +0000 (17:23 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000 (10:21 +0200)
commit3a023e6160b2c73d071a525f8246659e1921e5e6
treee5e140eb2e1dd41ea467bf4f9b4c021d6fa5952b
parentbc7565f768b63b1f746f6782d1f7f3fb0c1bc322
Use wide-string APIs on Windows.

SGPath and simgear::Dir use ‘w’ versions of POSIX APIs on Windows,
and convert UTF-8 SGPath to wide-strings as part of this.

Includes improved unit-tests for this code, with some very basic
tests of creating and iterating files with Unicode characters in
their names.

No user-visible changes should result from this, on any platform; in
particular wide-string support is still incomplete so FlightGear will
not yet work with arbitrary Unicode paths on Windows.
simgear/misc/path_test.cxx
simgear/misc/sg_dir.cxx
simgear/misc/sg_path.cxx
simgear/misc/sg_path.hxx
simgear/misc/sgstream.cxx
simgear/misc/strutils.cxx
simgear/misc/strutils.hxx
simgear/misc/zfstream.cxx