You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That is because you are depending on platform-specific behavior ;) Straight from the docs:
Will document a bit better that the string_view is an ASCII string, not utf8 string. Adding non-ascii support for file saving will unnecessarily complicate the logic engine. But we can add a function to save to byte buffer, not a file, and you can use that to use your own file-string handling logic - would that work for you?
RLogic version: 0.14.2
For file paths, we are using UTF-8-based strings to support non-ASCII data such as Umlauts or Chinese letters.
LogicEngine::saveToFile()
does not seem to handle UTF-8 string data, falsely decoding it in the process of saving an RLogic file on Windows systems.Here is a GTest that elucidates the problem:
In this test case, RLogic will save a file with the filename
saveToFile_äöü.ramses
but try to load a file with the filenamesaveToFile_äöü.ramses
.The text was updated successfully, but these errors were encountered: