DirectXShaderCompiler icon indicating copy to clipboard operation
DirectXShaderCompiler copied to clipboard

en_US is being assumed to be present for string conversion on all systems.

Open coopp opened this issue 1 year ago • 0 comments

Description A recent change was made to update string conversion helpers to always use UTF-8. It was noticed on linux platforms that the wrapper code performing the conversions was assuming that the locale en_US.UTF-8 is always present. This may not be the case.

A full revisit of the string conversion approach needs to be done and this assumption addressed.

In addition to this en-US assumption, the usage of LC_ALL for setting locale settings over using just LC_CTYPE needs revisting.

Environment

  • Host Operating System Linux

coopp avatar Apr 04 '24 21:04 coopp