Weeks before the Japanese invasion of Nanjing, the Chinese government, army and most of the foreigners fled, leaving the city open and the people defenceless.