Demonstrators in dozens of countries express anger at French president, who is standing by right to caricature the Prophet Muhammad in wake of Islamist terror attacks