Encode country info