The Japanese currency posted its best week since July, gaining about 2.4% against the dollar.