I’m using sketchup sdk under c++ MFC application. My sketchupapi.dll version is 21.1.332.
I have an issue in release version of my program. When I call SUModelSaveToFile and specify a full path in utf8 encoding it changes the previously set LC_CTYPE locale. Before the call I have set this locale to ACP but immediately after the call I can see it was changed to C.
This does not happen in debug.
Do you have any suggestions? I could of course reset the locale after each call to SUModelSaveToFile but I think it’s not too elegant.