Yasuo Fukuda, the prime minister of Japan, joined President Bush in saying he would attend the opening ceremony of the Olympic Games in Beijing.