I am getting Square boxes in the entry boxes

The terminal command is on our wiki:

https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Command_Line#MacOS

And it seems to depend on how and where you installed Gramps. What you found is quite odd, because the name looks OK in the window’s title bar.