-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fixing the defos_set_window_title() #127
Conversation
Changing parameter encoding when window title changes
I don't think that's the case. When I tested the change in the engine itself I got it to show a Russian title on my Win 10. @e1e5en-gd what did you test with? |
@britzl, I tested on Windows 11. If I'm not mistaken, then: @subsoap, you can ask you to try in the project settings to change the name to a string with Russian characters "Привет, мир!". If the name is displayed correctly, then the problem is in my modifications. If question marks are displayed, then the system font may not support these characters. |
Good point. This would be a quick way of testing if it works or not! |
I tried again with 192 beta but it's still the same for me. But then I tried just setting the window title with 192 game.project and it does display properly. So there must be something missing or done wrong somewhere. Setting the window title after this doesn't help, still shows as ???s for me. |
I'll try to reproduce the error myself (I'll try to change the system language). Is it possible to somehow display values from the C++ extension to see what comes in the argument, how is the recoding done? I'm not very good at understanding how to work with the extension |
@subsoap How does the previous version with |
In the above working example in Defold, the code is as follows:
When editing in the extension and transferring this code, I cursed at
Now I decided to check and display the results that comes to the input and we get after the conversion. To do this, I use a
Unfortunately, there is no way I can reproduce the error that occurs. So I ask you to try. I'm not very good at C++. Sorry. |
Changing parameter encoding when window title changes. Fix #126