But Palermo rose up against the French in the murderous Sicilian Vespers of 1282 , when the locals massacred everyone who spoke Italian with a French accent and forced Charles to move his capital to Naples .
Palermo and Charles were friends in Switzerland .