With debian I edit the platform.sh file with libreoffice and I find myself after the build with a firmware whose sysupgrade command does not work. I have this file which has 3 characters. ( dot ) in file header
It's not a disaster because from the console I manually edit the file, I remove the 3 dots and it works. Unfortunately this is not permanent.
I have another solution which is to edit the platform.sh file with windows hexedit to delete the EF BB FF and then copy the platform.sh and then build. It's weird that if there is a UTF-8 header - EF BB BF - it turns into 3 dots with the build
*
Which graphics editor to use?
But it's annoying that the compilation doesn't support UTF-8 files and there are no errors
The indications in the guide to build a firmware should indicate that nothing should be edited with LibreOffice
I have had this problem for a long time and was asking about what I did wrong while editing files when it was simply due to the header of the file
Any flavour of general purpose linux distributions/ desktop environments should have at least one GUI based plain text editor preinstalled (if not, you will be able to install many different ones). Yes, libreoffice might be sneaky in declaring itself to be the default for *.txt, but you can "open as" the file (right click) and choose a plain text editor.