Keira Knightley had to learn Mandarin for her role as real-life whistleblower Katherine Gun in 'Official Secrets'.