There are many languages in China. The predominant ones are Mandarin and Cantonese.

In the Cantonese vernacular, the Chinese ideographs are read as Nanking, to be more precise, Namking, and in Mandarin it is read as Nanjing.

When the European invaders first reached China, their point of reference was mostly Cantonese, hence place names like Peking, Nanking and Canton.

They have all been romanised according to the Hanyu Pinyin romanisation system now and are Beijing, Nanjing and Guangdong according to the Mandarin vernacular reading of the places.