Skip to content

Instantly share code, notes, and snippets.

@Thinkscape
Created April 17, 2013 18:20
Show Gist options
  • Select an option

  • Save Thinkscape/5406518 to your computer and use it in GitHub Desktop.

Select an option

Save Thinkscape/5406518 to your computer and use it in GitHub Desktop.
Reading maxmind localized region names
$region = iconv(
'ISO-8859-1',
'UTF-8//IGNORE',
@geoip_region_name_by_code(
$rec['country_code'],$rec['region']
)
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment