China provides a striking example of the lengths to which countries sometimes go to maintain a fixed exchange rate.