Nanning nng and nanjing nkg.
I know the difference quite well but ctrip's mobile app thought it knew better than me a few months ago and I ended up having to eat one ticket and buy a walkup fare on the flight I actually wanted.
I also have a friend who made the sjc/sjo mistake a few years ago. Fortunately for him, his ticket was full fare so the fix was easy.