[pdal-commits] [PDAL/PDAL] 393112: Enable Unicode support for paths on Windows (#2135...

GitHub noreply at github.com
Wed Aug 15 08:35:53 PDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/PDAL/PDAL
  Commit: 3931126cb6471e5bf396913fca4ecfa5788d6f9a
      https://github.com/PDAL/PDAL/commit/3931126cb6471e5bf396913fca4ecfa5788d6f9a
  Author: Mateusz Loskot <mateusz at loskot.net>
  Date:   2018-08-15 (Wed, 15 Aug 2018)

  Changed paths:
    M pdal/util/FileUtils.cpp
    A test/data/japanese.txt
    M test/unit/FileUtilsTest.cpp

  Log Message:
  -----------
  Enable Unicode support for paths on Windows (#2135)

This is a minimal changeset that enables PDAL to recognise filesystem
locations that require Unicode encoded paths (e.g. Japanese paths).

On Windows, every path in ASCII or UTF-8 is converted to UTF-16 and
passed to Win32 API functions or C++ file streams (Microsoft extension)
which expect paths encoded in wchar_t-character string.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the pdal-commits mailing list