I have been trying to connect to my AP which the SSID contains spaces.
But instead of spaces it saved a plus sign '+' instead. This made it impossible for the ESP to connect to my AP.
In the library I have modified a little the setEEPROMString method.
void WiFiManager::setEEPROMString(int start, int len, String string) {
int si = 0;
for (int i = _eepromStart + start; i < _eepromStart + start + len; i++) {
char c;
if(si < string.length()) {
c = string[si];
if (c == '+')
c = ' ';
DEBUG_PRINT("Wrote: ");
DEBUG_PRINT(c);
} else {
c = 0;
}
EEPROM.write(i, c);
si++;
}
}
All I have done is to replace any '+' characters with a space ' ' character.
It worked fine after this modification.
Hope this helps someone