react-native-windows/vnext/Chakra
Nick Gerleman 9b93d7b5bc
C++ 20: Use UTF-16 Paths and Resource URLs (#12327)
1. Both WinRT and std::filesystem use system-native UTF-16 paths on Windows. Defaulting to UTF16 lets us avoid conversion until needed, and fixes some instances of round-tripping between formats.
2. We rely on `path.u8string()` to return a Unicode representation of a path, but that API in C++ 20 returns `std::u8string` which is incompatible with every other existing utf-8 API. `path.string()` may convert to system codepage instead.
3. This makes coroutine usage more efficient when using `IAsyncOperation<winrt::hstring>`, the pattern to replace `std::future<std::string>` usage mechanically.
2023-11-07 10:16:38 -08:00
..
Chakra.vcxitems Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
Chakra.vcxitems.filters Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
ChakraHelpers.cpp Fix typos and add `cspell` configuration (#11536) 2023-05-05 13:12:29 -07:00
ChakraHelpers.h CELA open source policy no longer recommends all right reserved in license header (#5083) 2020-06-01 15:17:26 -07:00
ChakraInstanceArgs.h Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
ChakraPlatform.cpp Resolving CodeQL warnings 5/25/22 (#10007) 2022-05-26 04:52:25 +00:00
ChakraPlatform.h Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
ChakraTracing.cpp Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
ChakraTracing.h CELA open source policy no longer recommends all right reserved in license header (#5083) 2020-06-01 15:17:26 -07:00
ChakraUtils.cpp C++ 20: Use UTF-16 Paths and Resource URLs (#12327) 2023-11-07 10:16:38 -08:00
ChakraUtils.h C++ 20: Use UTF-16 Paths and Resource URLs (#12327) 2023-11-07 10:16:38 -08:00
ChakraValue.cpp Terminate if a Chakra JS object cannot be created (#9953) 2022-05-12 19:35:16 +00:00
ChakraValue.h Fix typos and add `cspell` configuration (#11536) 2023-05-05 13:12:29 -07:00
Utf8DebugExtensions.cpp Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00
Utf8DebugExtensions.h Drop ChakraCore dependency (#9056) 2021-11-06 02:05:21 +00:00