Archicad C++ API
About Archicad add-on development using the C++ API.
SOLVED!

Problem with non english characters in menus

Koze85
Contributor

Hi I ve managed to create a sample addon with cmake and created a custom menu in vs2019

when i ve added non english characters in the menu and compile in Archicad i get ???????? characters

If i compile any sample project and replace characters with non english text it appears fine

I ve tried any localize option i could fine in visual studio and changed CompileResourses.py localization in utf-8 but it doesnt work

1 ACCEPTED SOLUTION

Accepted Solutions
Solution
Koze85
Contributor

Ok so the trick is to alter the \Sources\AddOnResources\RINT\ .grc file encoding with notepad ++ from whatever it is to UTF-8-BOM, I also changed the code of the CompileResources.py from the original template to that of the AdditionalJSONCommands one but i dont think it matters

View solution in original post

1 REPLY 1
Solution
Koze85
Contributor

Ok so the trick is to alter the \Sources\AddOnResources\RINT\ .grc file encoding with notepad ++ from whatever it is to UTF-8-BOM, I also changed the code of the CompileResources.py from the original template to that of the AdditionalJSONCommands one but i dont think it matters