Humboldt, Wilhelm, philologist and diplomatist