A British diplomat stationed in China is being hailed as a hero after he dived into a river to rescue a woman.