-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't use LogicEngine::saveToFile() with UTF-8-based string data on Windows #40
Comments
Yes, this looks like a good idea - if there was the same functionality for Ramses then I would be 100% happy 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: