I have recently upgraded my IDE to version 2.0.4, and I am now unable to open old sketches created with the previous version (2.0.3). The issue seems to be related to the names of these sketches, which contain spaces, and I understand that this is no longer allowed in the new version.
I was wondering if there is a way to bypass this new behavior. I have looked at the preferences menu, but I couldn't figure out how to do it.
The sketch root folder name and code file names must start with a basic letter (A-Z or a-z) or number (0-9), followed by basic letters, numbers, underscores (_), dots (.) and dashes (-). The maximum length is 63 characters.
Support for names starting with a number was added in Arduino IDE 1.8.4.
... With IDE 2.0.3, I've created sketches with spaces in the names. Perhaps not my best idea, but it worked. So why was it possible with the previous version?
But anyway, it doesn't solve my problem.
Now I understand I'll have to change the names of my old sketches if I want to use 2.0.4 version replacing spaces with underscores for instance), or downgrade to the older version...
This is ridiculous! Since the early eighties, when I started with Unix, I've been using spaces in filenames. And now, when AI is thriving, that is not possible anymore? This makes me very angry!
That’s because code is still developed by programmers who did not evolve from the 80s and don’t understand that ascii is no longer what it used to be in terms of the gold standard of text representation
Modern OSes know how to deal with it but when you call she’ll scripts parsing or using file names you need to ensure special attention had been made to cope with those - including utf8 support.
So as long as this does not change your old rule is a good one…