Shi Yinhong, a professor of international relations at the People’s University of China, said Mr. Obama’s background, particularly his upbringing in Indonesia, made him suited to understanding the problems facing the world’s poorer nations.

He and others say they hope the next American president will see their place more firmly within the community of nations, engaging in what Jairam Ramesh, junior commerce minister in the Indian government, called “genuine multilateralism and not in muscular unilateralism.”

Assuming Mr. Obama does play by international rules more fully, as he has promised, can his government live up to all the expectations?

“We have so many hopes and wishes that he will never be able to fulfill them,” said Susanne Grieshaber, 40, an art adviser in Berlin who was one of 200,000 Germans to attend a speech by Mr. Obama there in July. She cited action to protect the environment, reducing the use of force and helping the less fortunate. In essence, she wants Mr. Obama to make his country more like hers. But she is sober. “I’m preparing myself for the fact that peace and happiness are not going to suddenly break out,” she said.

Many in less developed countries — especially in the Arab world — agree that Mr. Obama will not carry out their wishes regarding American policy toward Israel and much else, and so they shrug off the results as ultimately making little difference.

“We will be optimistic for two months but that’s it,” predicted Huda Naim, 38, a member of the Hamas parliament here who said her 15-year-old son had watched Mr. Obama’s rise with rapt attention.

But some remain darkly suspicious of the election itself. They doubted that Mr. Obama could be nominated or elected. Now they doubt that he will govern. The skeptics say they believe that American policy is deeply institutionalized and that if Mr. Obama tries to shift it, “they” — the media, the corporate robber barons, the hidden powers — will box him in or even kill him.