When I open a language file to edit it, and then save it, then SMath will not startup. I have to replace the edited file with the archived copy that comes with the SMath archive to get SMath to startup again. This prevents me from modifying the language file so I can add new units to the units.xml and constants.xml files.
I tried using Bracket and the Ubuntu default text editor to edit the language file. Both produce the same problem. The file was opened and saved as plain text.
I will add that the only change I made to the file was to change
charge
to read,
charge, electrostatic
I did not add any carriage returns or otherwise edit the file.