OpenXR-SDK-Source
OpenXR-SDK-Source copied to clipboard
Windows openxr loader UTF8 path read error
Hello,i found openxr loader got an error when read runtime path from windows regedit which contains chinese word。
-
xr loader turn wider char to utf8 after read runtime path from regedit:
-
below is utf8 string:
-
xr loader turn back to wide char when try to check file if exists:
-
xr check file ok, then store the path in the list with utf8 format:
-
got error when try to load file with utf8 formated path,std::ifstream could not recognize utf8 string:
An issue (number 1794) has been filed to correspond to this issue in the internal Khronos GitLab (Khronos members only: KHR:openxr/openxr#1794 ), to facilitate working group processes.
This GitHub issue will continue to be the main site of discussion.