French president is not the first to use a few well-placed phrases to improve ties with China – but not everyone gets it right