The information from Info.plist is used for the application title, but the window title seems to go the other way. Is there an option to specify the encoding for the window title correctly?
I wonder if this isn’t an error when we read the window title from game project and set it in GLFW:
OpenGL: https://github.com/defold/defold/blob/dev/engine/graphics/src/opengl/graphics_opengl.cpp#L830
GLFW: https://github.com/defold/defold/blob/dev/engine/glfw/lib/cocoa/cocoa_window.m#L817-L818 (I wonder about the encoding here)
1 Like
This is true. NSISOLatin1StringEncoding
definitely kills any foreign characters. What about NSUTF8StringEncoding
, will it work with incoming c-title?
Not sure, but it’s something we can try. If you create a ticket on GH I’ll prepare a PR for you to try!
1 Like
Done! https://github.com/defold/defold/issues/6138.
Also I’m trying to building the engine from sources myself to check such things, but it’s still in the progress.
3 Likes