Geographical data encoding (standard codes for countries/regions/cities)
https://stackoverflow.com/questions/929087
Solution
The ISO 3166 specification is the widely accepted standard for country and "primary subdivision" (i.e. state, province, canton, etc.) codes. Note that this is different than storing address data.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow