Businesses and consumers in the eurozone became less upbeat about their prospects in August, while their British counterparts perked up as the likely impact of the U.K.’s June vote to leave the European Union was reassessed.

The changes in sentiment partly reversed those in July, when British businesses and consumers initially reacted with alarm to the Brexit vote, while their eurozone counterparts were untroubled by the unprecedented decision.

...