HomePhabricator

[libcxx] Convert paths to/from the right narrow code page for narrow strings on…

Authored by mstorsjo on Oct 27 2020, 4:30 AM.

Description

[libcxx] Convert paths to/from the right narrow code page for narrow strings on windows

On windows, the narrow, char based paths normally don't use utf8, but
can use many different native code pages, and this is what system
functions that operate on files, taking such paths/file names, interpret
them as.

Differential Revision: https://reviews.llvm.org/D91137