ISO Country Names and Codes for the Programmer

While implementing a table with country names in my Euro App, I found a very valuable resource which helps every programmer who faces this problem. Be it ActionScript, HTML, Javascript, (Objective-)C Рas in my case Рyou name it -, the online service opencountrycodes­.appspot.com provides the current list of country names in the right format!

You can fetch the latest list from within your app/website every time by HTTP request or, as I did, grab the file and bundle it with your product! Given, of course, you are complying to the ISO 3166 Standard which Eurobilltracker.com apparently does.

Well, one could download a xml-file from iso.org too, but its country names are set ugly in capitalized letters – and your clients won’t like that!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: