Js array of countries and regions

en

var geolocation= [
["AO", "Angola"],
["AF", "Afghanistan"],
["AL", "Albania"],
["DZ", "Algeria"],
["AD", "Andorra"],
["AI", "Anguilla"],
["AG", "Barbuda Antigua"],
["AR", "Argentina"],
["AM", "Armenia"],
["AU", "Australia"],
["AT", "Austria"],
["AZ", "Azerbaijan"],
["BS", "Bahamas"],
["BH", "Bahrain"],
["BD", "Bangladesh"],
["BB", "Barbados"],
["BY", "Belarus"],
["BE", "Belgium"],
["BZ", "Belize"],
["BJ", "Benin"],
["BM", "Bermuda Is."],
["BO", "Bolivia"],
["BW", "Botswana"],
["BR", "Brazil"],
["BN", "Brunei"],
["BG", "Bulgaria"],
["BF", "Burkina-faso"],
["MM", "Burma"],
["BI", "Burundi"],
["CM", "Cameroon"],
["CA", "Canada"],
["CF", "Central African Republic"],
["TD", "Chad"],
["CL", "Chile"],
["CN", "China"],
["CO", "Colombia"],
["CG", "Congo"],
["CK", "Cook Is."],
["CR", "Costa Rica"],
["CU", "Cuba"],
["CY", "Cyprus"],
["CZ", "Czech Republic"],
["DK", "Denmark"],
["DJ", "Djibouti"],
["DO", "Dominica Rep."],
["EC", "Ecuador"],
["EG", "Egypt"],
["SV", "EI Salvador"],
["EE", "Estonia"],
["ET", "Ethiopia"],
["FJ", "Fiji"],
["FI", "Finland"],
["FR", "France"],
["GF", "French Guiana"],
["GA", "Gabon"],
["GM", "Gambia"],
["GE", "Georgia"],
["DE", "Germany"],
["GH", "Ghana"],
["GI", "Gibraltar"],
["GR", "Greece"],
["GD", "Grenada"],
["GU", "Guam"],
["GT", "Guatemala"],
["GN", "Guinea"],
["GY", "Guyana"],
["HT", "Haiti"],
["HN", "Honduras"],
["HK", "Hongkong"],
["HU", "Hungary"],
["IS", "Iceland"],
["IN", "India"],
["ID", "Indonesia"],
["IR", "Iran"],
["IQ", "Iraq"],
["IE", "Ireland"],
["IL", "Israel"],
["IT", "Italy"],
["JM", "Jamaica"],
["JP", "Japan"],
["JO", "Jordan"],
["KH", "Kampuchea (Cambodia )"],
["KZ", "Kazakstan"],
["KE", "Kenya"],
["KR", "Korea"],
["KW", "Kuwait"],
["KG", "Kyrgyzstan"],
["LA", "Laos"],
["LV", "Latvia"],
["LB", "Lebanon"],
["LS", "Lesotho"],
["LR", "Liberia"],
["LY", "Libya"],
["LI", "Liechtenstein"],
["LT", "Lithuania"],
["LU", "Luxembourg"],
["MO", "Macao"],
["MG", "Madagascar"],
["MW", "Malawi"],
["MY", "Malaysia"],
["MV", "Maldives"],
["ML", "Mali"],
["MT", "Malta"],
["MU", "Mauritius"],
["MX", "Mexico"],
["MD", "Moldova"],
["MC", "Monaco"],
["MN", "Mongolia"],
["MS", "Montserrat Is."],
["MA", "Morocco"],
["MZ", "Mozambique"],
["NA", "Namibia"],
["NR", "Nauru"],
["NP", "Nepal"],
["NL", "Netherlands"],
["NZ", "New Zealand"],
["NI", "Nicaragua"],
["NE", "Niger"],
["NG", "Nigeria"],
["KP", "North Korea"],
["NO", "Norway"],
["OM", "Oman"],
["PK", "Pakistan"],
["PA", "Panama"],
["PG", "Papua New Cuinea"],
["PY", "Paraguay"],
["PE", "Peru"],
["PH", "Philippines"],
["PL", "Poland"],
["PF", "French Polynesia"],
["PT", "Portugal"],
["PR", "Puerto Rico"],
["QA", "Qatar"],
["RO", "Romania"],
["RU", "Russia"],
["LC", "Saint Lueia"],
["VC", "Saint Vincent"],
["SM", "San Marino"],
["ST", "Sao Tome and Principe"],
["SA", "Saudi Arabia"],
["SN", "Senegal"],
["SC", "Seychelles"],
["SL", "Sierra Leone"],
["SG", "Singapore"],
["SK", "Slovakia"],
["SI", "Slovenia"],
["SB", "Solomon Is."],
["SO", "Somali"],
["ZA", "South Africa"],
["ES", "Spain"],
["LK", "Sri Lanka"],
["SD", "Sudan"],
["SR", "Suriname"],
["SZ", "Swaziland"],
["SE", "Sweden"],
["CH", "Switzerland"],
["SY", "Syria"],
["TW", "Taiwan"],
["TJ", "Tajikstan"],
["TZ", "Tanzania"],
["TH", "Thailand"],
["TG", "Togo"],
["TO", "Tonga"],
["TT", "Trinidad and Tobago"],
["TN", "Tunisia"],
["TR", "Turkey"],
["TM", "Turkmenistan"],
["UG", "Uganda"],
["UA", "Ukraine"],
["AE", "United Arab Emirates"],
["GB", "United Kiongdom"],
["US", "United States of America"],
["UY", "Uruguay"],
["UZ", "Uzbekistan"],
["VE", "Venezuela"],
["VN", "Vietnam"],
["YE", "Yemen"],
["YU", "Yugoslavia"],
["ZW", "Zimbabwe"],
["ZR", "Zaire"],
["ZM", "Zambia"]
                      ];

cn

var geolocation= [
["AO", "  Angola  "],
["AF", "  Afghanistan  "],
["AL", "  Albania  "],
["DZ", "  Algeria  "],
["AD", "  Andorra  "],
["AI", "  Anguilla  "],
["AG", "  Antigua and Barbuda  "],
["AR", "  Argentina  "],
["AM", "  Armenia  "],
["AU", "  Australia  "],
["AT", "  Austria  "],
["AZ", "  Azerbaijan  "],
["BS", "  Bahamas  "],
["BH", "  Bahrain  "],
["BD", "  Bangladesh  "],
["BB", "  Barbados  "],
["BY", "  Belarus  "],
["BE", "  Belgium  "],
["BZ", "  Belize  "],
["BJ", "  Benin  "],
["BM", "  Bermuda  "],
["BO", "  Bolivia  "],
["BW", "  Botswana  "],
["BR", "  Brazil  "],
["BN", "  Brunei  "],
["BG", "  Bulgarian  "],
["BF", "  Burkina Faso  "],
["MM", "  Myanmar  "],
["BI", "  Burundi  "],
["CM", "  Cameroon  "],
["CA", "  Canada  "],
["CF", "  Central African Republic  "],
["TD", "  Chad  "],
["CL", "  Chile  "],
["CN", "  China  "],
["CO", "  Colombia  "],
["CG", "  Congo  "],
["CK", "  Cook Islands  "],
["CR", "  Costa Rica  "],
["CU", "  Cuba  "],
["CY", "  Cyprus  "],
["CZ", "  Czech Republic  "],
["DK", "  Denmark  "],
["DJ", "  Djibouti  "],
["DO", "  Dominican Republic  "],
["EC", "  Ecuador  "],
["EG", "  Egypt  "],
["SV", "  El Salvador  "],
["EE", "  Estonia  "],
["ET", "  Ethiopia  "],
["FJ", "  Fiji  "],
["FI", "  Finland  "],
["FR", "  France  "],
["GF", "  French Guiana  "],
["GA", "  Gabon  "],
["GM", "  Gambia  "],
["GE", "  Georgia  "],
["DE", "  Germany  "],
["GH", "  Ghana  "],
["GI", "  Gibraltar  "],
["GR", "  Greece  "],
["GD", "  Grenada  "],
["GU", "  Guam  "],
["GT", "  Guatemala  "],
["GN", "  Guinea  "],
["GY", "  Guyana  "],
["HT", "  Haiti  "],
["HN", "  Honduras  "],
["HK", "  Hong Kong  "],
["HU", "  Hungary  "],
["IS", "  Iceland  "],
["IN", "  India  "],
["ID", "  Indonesia  "],
["IR", "  Iran  "],
["IQ", "  Iraq  "],
["IE", "  Ireland  "],
["IL", "  Israel  "],
["IT", "  Italy  "],
["JM", "  Jamaica  "],
["JP", "  Japan  "],
["JO", "  Jordan  "],
["KH", "  Cambodia  "],
["KZ", "  Kazakhstan  "],
["KE", "  Kenya  "],
["KR", "  South Korea  "],
["KW", "  Kuwait  "],
["KG", "  Kyrgyzstan  "],
["LA", "  Laos  "],
["LV", "  Latvia  "],
["LB", "  Lebanon  "],
["LS", "  Lesotho  "],
["LR", "  Liberia  "],
["LY", "  Libya  "],
["LI", "  Liechtenstein  "],
["LT", "  Lithuania  "],
["LU", "  Luxembourg  "],
["MO", "  Macau  "],
["MG", "  Madagascar  "],
["MW", "  Malawi  "],
["MY", "  Malaysia  "],
["MV", "  Maldives  "],
["ML", "  Mali  "],
["MT", "  Malta  "],
["MU", "  Mauritius  "],
["MX", "  Mexico  "],
["MD", "  Moldova  "],
["MC", "  Monaco  "],
["MN", "  Mongolia  "],
["MS", "  Montserrat  "],
["MA", "  Morocco  "],
["MZ", "  Mozambique  "],
["NA", "  Namibia  "],
["NR", "  Nauru  "],
["NP", "  Nepal  "],
["NL", "  Netherlands  "],
["NZ", "  New Zealand  "],
["NI", "  Nicaragua  "],
["NE", "  Niger  "],
["NG", "  Nigeria  "],
["KP", "  North Korea  "],
["NO", "  Norway  "],
["OM", "  Oman  "],
["PK", "  Pakistan  "],
["PA", "  Panama  "],
["PG", "  Papua New Guinea  "],
["PY", "  Paraguay  "],
["PE", "  Peru  "],
["PH", "  Philippines  "],
["PL", "  Poland  "],
["PF", "  French Polynesia  "],
["PT", "  Portugal  "],
["PR", "  Puerto Rico  "],
["QA", "  Qatar  "],
["RO", "  Romania  "],
["RU", "  Russia  "],
["LC", "  Saint Lucia  "],
["VC", "  St. Vincent  "],
["SM", "  San Marino  "],
["ST", "  Sao Tome and Principe  "],
["SA", "  Saudi Arabia  "],
["SN", "  Senegal  "],
["SC", "  Seychelles  "],
["SL", "  Sierra Leone  "],
["SG", "  Singapore  "],
["SK", "  Slovakia  "],
["SI", "  Slovenia  "],
["SB", "  Solomon Islands  "],
["SO", "  Somalia  "],
["ZA", "  South Africa  "],
["ES", "  Spain  "],
["LK", "  Sri Lanka  "],
["SD", "  Sudan  "],
["SR", "  Surinam  "],
["SZ", "  Swaziland  "],
["SE", "  Sweden  "],
["CH", "  Switzerland  "],
["SY", "  Syria  "],
["TW", "  Taiwan  "],
["TJ", "  Tajikistan  "],
["TZ", "  Tanzania  "],
["TH", "  Thailand  "],
["TG", "  Togo  "],
["TO", "  Tonga  "],
["TT", " Trinidad and Tobago  "],
["TN", "  Tunisia  "],
["TR", "  Turkey  "],
["TM", "  Turkmenistan  "],
["UG", "  Uganda  "],
["UA", "  Ukraine  "],
["AE", "  United Arab Emirates  "],
["GB", "  United Kingdom  "],
["US", "  United States  "],
["UY", "  Uruguay  "],
["UZ", "  Uzbekistan  "],
["VE", "  Venezuela  "],
["VN", "  Vietnam  "],
["YE", "  Yemen  "],
["YU", "  Yugoslavia  "],
["ZW", "  Zimbabwe  "],
["ZR", "  Zaire  "],
["ZM", "  Zambia  "]
                      ];

tw

var geolocation= [
["AO", "  Angola  "],
["AF", "  Afghanistan  "],
["AL", "  Albania  "],
["DZ", "  Algeria  "],
["AD", "  Andorra  "],
["AI", "  Anguilla  "],
["AG", "  Antigua and Barbuda  "],
["AR", "  Argentina  "],
["AM", "  Armenia  "],
["AU", "  Australia  "],
["AT", "  Austria  "],
["AZ", "  Azerbaijan  "],
["BS", "  Bahamas  "],
["BH", "  Bahrain  "],
["BD", "  Bangladesh  "],
["BB", "  Barbados  "],
["BY", "  Belarus  "],
["BE", "  Belgium  "],
["BZ", "  Belize  "],
["BJ", "  Benin  "],
["BM", "  Bermuda  "],
["BO", "  Bolivia  "],
["BW", "  Botswana  "],
["BR", "  Brazil  "],
["BN", "  Brunei  "],
["BG", "  Bulgarian  "],
["BF", "  Burkina Faso  "],
["MM", "  Myanmar  "],
["BI", "  Burundi  "],
["CM", "  Cameroon  "],
["CA", "  Canada  "],
["CF", "  Central African Republic  "],
["TD", "  Chad  "],
["CL", "  Chile  "],
["CN", "  China  "],
["CO", "  Colombia  "],
["CG", "  Congo  "],
["CK", "  Cook Islands  "],
["CR", "  Costa Rica  "],
["CU", "  Cuba  "],
["CY", "  Cyprus  "],
["CZ", "  Czech Republic  "],
["DK", "  Denmark  "],
["DJ", "  Djibouti  "],
["DO", "  Dominican Republic  "],
["EC", "  Ecuador  "],
["EG", "  Egypt  "],
["SV", "  El Salvador  "],
["EE", "  Estonia  "],
["ET", "  Ethiopia  "],
["FJ", "  Fiji  "],
["FI", "  Finland  "],
["FR", "  France  "],
["GF", "  French Guiana  "],
["GA", "  Gabon  "],
["GM", "  Gambia  "],
["GE", "  Georgia  "],
["DE", "  Germany  "],
["GH", "  Ghana  "],
["GI", "  Gibraltar  "],
["GR", "  Greece  "],
["GD", "  Grenada  "],
["GU", "  Guam  "],
["GT", "  Guatemala  "],
["GN", "  Guinea  "],
["GY", "  Guyana  "],
["HT", "  Haiti  "],
["HN", "  Honduras  "],
["HK", "  Hong Kong  "],
["HU", "  Hungary  "],
["IS", "  Iceland  "],
["IN", "  India  "],
["ID", "  Indonesia  "],
["IR", "  Iran  "],
["IQ", "  Iraq  "],
["IE", "  Ireland  "],
["IL", "  Israel  "],
["IT", "  Italy  "],
["JM", "  Jamaica  "],
["JP", "  Japan  "],
["JO", "  Jordan  "],
["KH", "  Cambodia  "],
["KZ", "  Kazakhstan  "],
["KE", "  Kenya  "],
["KR", "  South Korea "],
["KW", "  Kuwait  "],
["KG", "  Kyrgyzstan  "],
["LA", "  Laos  "],
["LV", "  Latvia  "],
["LB", "  Lebanon  "],
["LS", "  Lesotho  "],
["LR", "  Liberia  "],
["LY", "  Libya  "],
["LI", "  Liechtenstein  "],
["LT", "  Lithuania  "],
["LU", "  Luxembourg  "],
["MO", "  Macau  "],
["MG", "  Madagascar  "],
["MW", "  Malawi  "],
["MY", "  Malaysia  "],
["MV", "  Maldives  "],
["ML", "  Mali  "],
["MT", "  Malta  "],
["MU", "  Mauritius  "],
["MX", "  Mexico  "],
["MD", "  Moldova  "],
["MC", "  Monaco  "],
["MN", "  Mongolia  "],
["MS", "  Montserrat  "],
["MA", "  Morocco  "],
["MZ", "  Mozambique  "],
["NA", "  Namibia  "],
["NR", "  Nauru  "],
["NP", "  Nepal  "],
["NL", "  Netherlands  "],
["NZ", "  New Zealand  "],
["NI", "  Nicaragua  "],
["NE", "  Niger  "],
["NG", "  Nigeria  "],
["KP", "  North Korea  "],
["NO", "  Norway  "],
["OM", "  Oman  "],
["PK", "  Pakistan  "],
["PA", "  Panama  "],
["PG", "  Papua New Guinea  "],
["PY", "  Paraguay  "],
["PE", "  Peru  "],
["PH", "  Philippines  "],
["PL", "  Poland  "],
["PF", "  French Polynesia  "],
["PT", "  Portugal  "],
["PR", "  Puerto Rico  "],
["QA", "  Qatar  "],
["RO", "  Romania  "],
["RU", "  Russia  "],
["LC", "  Saint Lucia  "],
["VC", "  St. Vincent  "],
["SM", "  San Marino  "],
["ST", "  Sao Tome and Principe  "],
["SA", "  Saudi Arabia  "],
["SN", "  Senegal  "],
["SC", "  Seychelles  "],
["SL", "  Sierra Leone  "],
["SG", "  Singapore  "],
["SK", "  Slovakia  "],
["SI", "  Slovenia  "],
["SB", "  Solomon Islands  "],
["SO", "  Somalia  "],
["ZA", "  South Africa  "],
["ES", "  Spain  "],
["LK", "  Sri Lanka  "],
["SD", "  Sudan  "],
["SR", "  Surinam  "],
["SZ", "  Swaziland  "],
["SE", "  Sweden  "],
["CH", "  Switzerland  "],
["SY", "  Syria  "],
["TW", "  Taiwan  "],
["TJ", "  Tajikistan  "],
["TZ", "  Tanzania  "],
["TH", "  Thailand  "],
["TG", "  Togo  "],
["TO", "  Tonga  "],
["TT", "  Trinidad and Tobago  "],
["TN", "  Tunisia  "],
["TR", "  Turkey  "],
["TM", "  Turkmenistan  "],
["UG", "  Uganda  "],
["UA", "  Ukraine  "],
["AE", "  United Arab Emirates  "],
["GB", "  United Kingdom  "],
["US", "  United States  "],
["UY", "  Uruguay  "],
["UZ", "  Uzbekistan  "],
["VE", "  Venezuela  "],
["VN", "  Vietnam  "],
["YE", "  Yemen  "],
["YU", "  Yugoslavia  "],
["ZW", "  Zimbabwe  "],
["ZR", "  Zaire  "],
["ZM", "  Zambia  "]
                      ];

src

http://www1.jctrans.com/tool/dm.htm

public class GetString {
    public static void main(String[] args) {
        File f = new File("D:/xx.txt");
        BufferedReader reader = null;
        try {
            reader = new BufferedReader(new FileReader(f));
        } catch (FileNotFoundException e2) {
            // TODO Auto-generated catch block
            e2.printStackTrace();
        }
        String line;
        try {
            while ((line = reader.readLine()) != null) {
                String[] ss=line.split("\\b");
                System.out.println("[\""+ss[5]+"\", \""+ss[3]+"\"],");
            }
        } catch (IOException e1) {
            e1.printStackTrace();
        }
    }
}
分类:Web 时间:2010-06-30 人气:198
分享到:
blog comments powered by Disqus

相关文章

  • Ajax auto-complete feature 2010-11-29

    <% @ Page contentType = "text / html; charset = GBK"%> <html> <head> <title> auto-complete </ title> <mce:style type="text/css"> <! - . MouseOut { background: # 708090; color: # FFFAFA; } . MouseO

  • List of world countries 2010-08-18

    <select> <option>Afghanistan</option> <option>Anguilla</option> <option>Armenia</option> <option>Aruba</option> <option>Australia</option> <option>Austria</option> <option>

  • JavaScript控制两个列表框listbox左右交换数据的方法 2015-01-29

    这篇文章主要介绍了JavaScript控制两个列表框listbox左右交换数据的方法,实例分析了javascript操作列表框listbox的技巧,非常具有实用价值,需要的朋友可以参考下 本文实例讲述了JavaScript控制两个列表框listbox左右交换数据的方法.分享给大家供大家参考.具体分析如下: 这个功能我们经常用到,将左边列表框的元素移动到右边,或者将右边列表框的元素移动到左边,可以一次性全部移动 function listbox_moveacross(sourceID, destI

  • Nine factors that make Java EE 6 be your magic to save money 2010-03-29

    1, the prototype build <br /> Generally speaking, corporate Java projects at the initial stage of work is to evaluate the use of which a framework. This work takes time can be longer or shorter, there may also be a few months a few hours. Java EE 6

  • The meaning of commonly used domain name suffixes 2008-05-23

    International domain name: . com (commercial organizations),. net (network service),. org (nonprofit organization) com General on behalf of profit-making institutions, such as corporate, edu, said educational institutions cn is the area code, on beha

  • ecshop world list ecs_region 2010-07-14

    -- phpMyAdmin SQL Dump -- version 3.2.4 -- http://www.phpmyadmin.net -- -- Host : localhost -- Build date : 2010 In July. 13 Day 09:32 -- Server version : 5.0.91 -- PHP Version : 5.2.6 SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; -- -- Database : `www.

  • oracle sql loader all captures 2010-09-17

    http://www.bitscn.com/pdb/oracle/200810/152282.html 1: sql loader features oracle himself with a lot of tools can be used for data migration, backup and recovery and so on. But each tool has its own characteristics. For example, exp and imp data in t

  • Share js package tab and displays the current state according to the national state. Province 2010-11-26

    Companies need to package the project shows the current state of the state in accordance with national, provincial and all the exhibitions. js code: /** * @author wangxiang * @email:flyxiang228@gmail.com * @copyright privite */ var countryProvcity =

  • Depending on the selection of different countries to achieve javacript choose to display a different province / state 2010-12-29

    /** * @author wangxiang * @email:flyxiang228@gmail.com * @copyright privite */ var countryProvcity = function(data){ this.data = data; } countryProvcity.prototype = { init: function (){ var _t = this; var _d = this.data; _d.cid = _d.cid?_d.cid:"cid&q

iOS 开发

Android 开发

Python 开发

JAVA 开发

开发语言

PHP 开发

Ruby 开发

搜索

前端开发

数据库

开发工具

开放平台

Javascript 开发

.NET 开发

云计算

服务器

Copyright (C) codeweblog.com, All Rights Reserved.

CodeWeblog.com 版权所有 黔ICP备15002463号-1

processed in 0.364 (s). 12 q(s)