DirectXShaderCompiler/projects/dxilconv
Cooper Partin 422a60e6d0
Update locale setting logic to support UTF-8 only for Apple and Linux distros (#6488)
This commit fixes the setlocale( ) logic to include the UTF-8 supported
string value for Mariner distros.

It also introduces a new RAII class `ScopedLocale' which ensure that the
locale setting is set/reset during string conversion operations.

Fixes: #6201

---------

Co-authored-by: Cooper Partin <coopp@ntdev.microsoft.com>
Co-authored-by: cooppunix <cooppunix&mariner.com>
2024-04-10 10:04:32 -07:00
..
include [ClangCL] Cleanup rest clang-cl warnings (#5847) 2023-10-16 19:40:51 +00:00
lib [ClangCL] fix warning in DxbcConverter (#5694) 2023-10-09 16:58:37 -04:00
test [lit] allow for spaces in taef commands (#5720) 2023-09-18 19:58:04 +00:00
tools [ClangCL] fix warning in DxbcConverter (#5694) 2023-10-09 16:58:37 -04:00
unittests Update locale setting logic to support UTF-8 only for Apple and Linux distros (#6488) 2024-04-10 10:04:32 -07:00
CMakeLists.txt Support taef run in lit. (#4762) 2022-11-14 10:33:16 -08:00