Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with non english characters in menus

Koze85
Participant

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

Solution
Koze85
Participant

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
Participant

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

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!