Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use old ISBN-10 prefixes

  • Loading branch information...
commit c509816dad9dc5d25d9ecd700d637a978d3ae6d5 1 parent 1b8c9ee
Jakob Voss authored July 19, 2011
423  ISBN-Data/Data.pm
@@ -71,218 +71,217 @@ use vars qw( %country_data $MAX_COUNTRY_CODE_LENGTH );
71 71
 # source: http://www.isbn-international.org/agency?rmxml=1
72 72
 # date: Tue, 21 Jun 2011 10:46:46 GMT
73 73
 %country_data = (
74  
-9780  => ['English language' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
75  
-9781  => ['English language' => ['00' => '09', '100' => '399', '4000' => '5499', '55000' => '86979', '869800' => '998999', '9990000' => '9999999'] ],
76  
-9782  => ['French language' => ['00' => '19', '200' => '349', '35000' => '39999', '400' => '699', '7000' => '8399', '84000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
77  
-9783  => ['German language' => ['00' => '02', '030' => '033', '0340' => '0369', '03700' => '03999', '04' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9539999', '95400' => '96999', '9700000' => '9899999', '99000' => '99499', '99500' => '99999'] ],
78  
-9784  => ['Japan' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
79  
-9785  => ['Russian Federation and former USSR' => ['00' => '19', '200' => '420', '4210' => '4299', '430' => '430', '4310' => '4399', '440' => '440', '4410' => '4499', '450' => '699', '7000' => '8499', '85000' => '89999', '900000' => '909999', '91000' => '91999', '9200' => '9299', '93000' => '94999', '9500000' => '9500999', '9501' => '9799', '98000' => '98999', '9900000' => '9909999', '9910' => '9999'] ],
80  
-978600 => ['Iran' => ['00' => '09', '100' => '499', '5000' => '8999', '90000' => '99999'] ],
81  
-978601 => ['Kazakhstan' => ['00' => '19', '200' => '699', '7000' => '7999', '80000' => '84999', '85' => '99'] ],
82  
-978602 => ['Indonesia' => ['00' => '19', '200' => '799', '8000' => '9499', '95000' => '99999'] ],
83  
-978603 => ['Saudi Arabia' => ['00' => '04', '05' => '49', '500' => '799', '8000' => '8999', '90000' => '99999'] ],
84  
-978604 => ['Vietnam' => ['0' => '4', '50' => '89', '900' => '979', '9800' => '9999'] ],
85  
-978605 => ['Turkey' => ['01' => '09', '100' => '399', '4000' => '5999', '60000' => '89999', '90' => '99'] ],
86  
-978606 => ['Romania' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9199', '92000' => '99999'] ],
87  
-978607 => ['Mexico' => ['00' => '39', '400' => '749', '7500' => '9499', '95000' => '99999'] ],
88  
-978608 => ['Macedonia' => ['0' => '0', '10' => '19', '200' => '449', '4500' => '6499', '65000' => '69999', '7' => '9'] ],
89  
-978609 => ['Lithuania' => ['00' => '39', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
90  
-978611 => ['Thailand' => [] ],
91  
-978612 => ['Peru' => ['00' => '29', '300' => '399', '4000' => '4499', '45000' => '49999', '50' => '99'] ],
92  
-978613 => ['Mauritius' => ['0' => '9'] ],
93  
-978614 => ['Lebanon' => ['00' => '39', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
94  
-978615 => ['Hungary' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '89999'] ],
95  
-978616 => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '99999'] ],
96  
-978617 => ['Ukraine' => ['00' => '49', '500' => '699', '7000' => '8999', '90000' => '99999'] ],
97  
-978618 => ['Greece' => ['00' => '19', '200' => '499', '5000' => '7999', '80000' => '99999'] ],
98  
-978619 => ['Bulgaria' => ['00' => '14', '150' => '699', '7000' => '8999', '90000' => '99999'] ],
99  
-9787  => ['China, People\'s Republic' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '89999', '900000' => '999999'] ],
100  
-97880 => ['Czech Republic and Slovakia' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
101  
-97881 => ['India' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
102  
-97882 => ['Norway' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '98999', '990000' => '999999'] ],
103  
-97883 => ['Poland' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
104  
-97884 => ['Spain' => ['00' => '13', '140' => '149', '15000' => '19999', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9199', '920000' => '923999', '92400' => '92999', '930000' => '949999', '95000' => '96999', '9700' => '9999'] ],
105  
-97885 => ['Brazil' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '979999', '98000' => '99999'] ],
106  
-97886 => ['Serbia and Montenegro' => ['00' => '29', '300' => '599', '6000' => '7999', '80000' => '89999', '900000' => '999999'] ],
107  
-97887 => ['Denmark' => ['00' => '29', '400' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
108  
-97888 => ['Italy' => ['00' => '19', '200' => '599', '6000' => '8499', '85000' => '89999', '900000' => '909999', '910' => '929', '95000' => '99999'] ],
109  
-97889 => ['Korea, Republic' => ['00' => '24', '250' => '549', '5500' => '8499', '85000' => '94999', '950000' => '969999', '97000' => '98999', '990' => '999'] ],
110  
-97890 => ['Netherlands' => ['00' => '19', '200' => '499', '5000' => '6999', '70000' => '79999', '800000' => '849999', '8500' => '8999', '90' => '90', '910000' => '939999', '94' => '94', '950000' => '999999'] ],
111  
-97891 => ['Sweden' => ['0' => '1', '20' => '49', '500' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
112  
-97892 => ['International NGO Publishers and EC Organizations' => ['0' => '5', '60' => '79', '800' => '899', '9000' => '9499', '95000' => '98999', '990000' => '999999'] ],
113  
-97893 => ['India' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '94999', '950000' => '999999'] ],
114  
-97894 => ['Netherlands' => ['000' => '599', '6000' => '8999', '90000' => '99999'] ],
115  
-978950 => ['Argentina' => ['00' => '49', '500' => '899', '9000' => '9899', '99000' => '99999'] ],
116  
-978951 => ['Finland' => ['0' => '1', '20' => '54', '550' => '889', '8900' => '9499', '95000' => '99999'] ],
117  
-978952 => ['Finland' => ['00' => '19', '200' => '499', '5000' => '5999', '60' => '65', '6600' => '6699', '67000' => '69999', '7000' => '7999', '80' => '94', '9500' => '9899', '99000' => '99999'] ],
118  
-978953 => ['Croatia' => ['0' => '0', '10' => '14', '150' => '549', '55000' => '59999', '6000' => '9499', '95000' => '99999'] ],
119  
-978954 => ['Bulgaria' => ['00' => '28', '2900' => '2999', '300' => '799', '8000' => '8999', '90000' => '92999', '9300' => '9999'] ],
120  
-978955 => ['Sri Lanka' => ['0000' => '1999', '20' => '49', '50000' => '54999', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
121  
-978956 => ['Chile' => ['00' => '19', '200' => '699', '7000' => '9999'] ],
122  
-978957 => ['Taiwan' => ['00' => '02', '0300' => '0499', '05' => '19', '2000' => '2099', '21' => '27', '28000' => '30999', '31' => '43', '440' => '819', '8200' => '9699', '97000' => '99999'] ],
123  
-978958 => ['Colombia' => ['00' => '56', '57000' => '59999', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
124  
-978959 => ['Cuba' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '99999'] ],
125  
-978960 => ['Greece' => ['00' => '19', '200' => '659', '6600' => '6899', '690' => '699', '7000' => '8499', '85000' => '92999', '93' => '93', '9400' => '9799', '98000' => '99999'] ],
126  
-978961 => ['Slovenia' => ['00' => '19', '200' => '599', '6000' => '8999', '90000' => '94999'] ],
127  
-978962 => ['Hong Kong, China' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '86999', '8700' => '8999', '900' => '999'] ],
128  
-978963 => ['Hungary' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9999'] ],
129  
-978964 => ['Iran' => ['00' => '14', '150' => '249', '2500' => '2999', '300' => '549', '5500' => '8999', '90000' => '96999', '970' => '989', '9900' => '9999'] ],
130  
-978965 => ['Israel' => ['00' => '19', '200' => '599', '7000' => '7999', '90000' => '99999'] ],
131  
-978966 => ['Ukraine' => ['00' => '14', '1500' => '1699', '170' => '199', '2000' => '2999', '300' => '699', '7000' => '8999', '90000' => '99999'] ],
132  
-978967 => ['Malaysia' => ['00' => '00', '0100' => '0999', '10000' => '19999', '300' => '499', '5000' => '5999', '60' => '89', '900' => '989', '9900' => '9989', '99900' => '99999'] ],
133  
-978968 => ['Mexico' => ['01' => '39', '400' => '499', '5000' => '7999', '800' => '899', '9000' => '9999'] ],
134  
-978969 => ['Pakistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
135  
-978970 => ['Mexico' => ['01' => '59', '600' => '899', '9000' => '9099', '91000' => '96999', '9700' => '9999'] ],
136  
-978971 => ['Philippines' => ['000' => '015', '0160' => '0199', '02' => '02', '0300' => '0599', '06' => '09', '10' => '49', '500' => '849', '8500' => '9099', '91000' => '95999', '9600' => '9699', '97' => '98', '9900' => '9999'] ],
137  
-978972 => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
138  
-978973 => ['Romania' => ['0' => '0', '100' => '169', '1700' => '1999', '20' => '54', '550' => '759', '7600' => '8499', '85000' => '88999', '8900' => '9499', '95000' => '99999'] ],
139  
-978974 => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '90000' => '94999', '9500' => '9999'] ],
140  
-978975 => ['Turkey' => ['00000' => '01999', '02' => '24', '250' => '599', '6000' => '9199', '92000' => '98999', '990' => '999'] ],
141  
-978976 => ['Caribbean Community' => ['0' => '3', '40' => '59', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
142  
-978977 => ['Egypt' => ['00' => '19', '200' => '499', '5000' => '6999', '700' => '999'] ],
143  
-978978 => ['Nigeria' => ['000' => '199', '2000' => '2999', '30000' => '79999', '8000' => '8999', '900' => '999'] ],
144  
-978979 => ['Indonesia' => ['000' => '099', '1000' => '1499', '15000' => '19999', '20' => '29', '3000' => '3999', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
145  
-978980 => ['Venezuela' => ['00' => '19', '200' => '599', '6000' => '9999'] ],
146  
-978981 => ['Singapore' => ['00' => '11', '1200' => '1999', '200' => '289', '2900' => '9999'] ],
147  
-978982 => ['South Pacific' => ['00' => '09', '100' => '699', '70' => '89', '9000' => '9799', '98000' => '99999'] ],
148  
-978983 => ['Malaysia' => ['00' => '01', '020' => '199', '2000' => '3999', '40000' => '44999', '45' => '49', '50' => '79', '800' => '899', '9000' => '9899', '99000' => '99999'] ],
149  
-978984 => ['Bangladesh' => ['00' => '39', '400' => '799', '8000' => '8999', '90000' => '99999'] ],
150  
-978985 => ['Belarus' => ['00' => '39', '400' => '599', '6000' => '8999', '90000' => '99999'] ],
151  
-978986 => ['Taiwan' => ['00' => '11', '120' => '559', '5600' => '7999', '80000' => '99999'] ],
152  
-978987 => ['Argentina' => ['00' => '09', '1000' => '1999', '20000' => '29999', '30' => '49', '500' => '899', '9000' => '9499', '95000' => '99999'] ],
153  
-978988 => ['Hong Kong, China' => ['00' => '14', '15000' => '16999', '17000' => '19999', '200' => '799', '8000' => '9699', '97000' => '99999'] ],
154  
-978989 => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
155  
-9789927 => ['Qatar' => ['00' => '09', '100' => '399', '4000' => '4999'] ],
156  
-9789928 => ['Albania' => ['00' => '09', '100' => '399', '4000' => '4999'] ],
157  
-9789929 => ['Guatemala' => ['0' => '3', '40' => '54', '550' => '799', '8000' => '9999'] ],
158  
-9789930 => ['Costa Rica' => ['00' => '49', '500' => '939', '9400' => '9999'] ],
159  
-9789931 => ['Algeria' => ['00' => '29', '300' => '899', '9000' => '9999'] ],
160  
-9789932 => ['Lao People\'s Democratic Republic' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
161  
-9789933 => ['Syria' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
162  
-9789934 => ['Latvia' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9999'] ],
163  
-9789935 => ['Iceland' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
164  
-9789936 => ['Afghanistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
165  
-9789937 => ['Nepal' => ['0' => '2', '30' => '49', '500' => '799', '8000' => '9999'] ],
166  
-9789938 => ['Tunisia' => ['00' => '79', '800' => '949', '9500' => '9999'] ],
167  
-9789939 => ['Armenia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
168  
-9789940 => ['Montenegro' => ['0' => '1', '20' => '49', '500' => '899', '9000' => '9999'] ],
169  
-9789941 => ['Georgia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
170  
-9789942 => ['Ecuador' => ['00' => '89', '900' => '984', '9850' => '9999'] ],
171  
-9789943 => ['Uzbekistan' => ['00' => '29', '300' => '399', '4000' => '9999'] ],
172  
-9789944 => ['Turkey' => ['0000' => '0999', '100' => '499', '5000' => '5999', '60' => '69', '700' => '799', '80' => '89', '900' => '999'] ],
173  
-9789945 => ['Dominican Republic' => ['00' => '00', '010' => '079', '08' => '39', '400' => '569', '57' => '57', '580' => '849', '8500' => '9999'] ],
174  
-9789946 => ['Korea, P.D.R.' => ['0' => '1', '20' => '39', '400' => '899', '9000' => '9999'] ],
175  
-9789947 => ['Algeria' => ['0' => '1', '20' => '79', '800' => '999'] ],
176  
-9789948 => ['United Arab Emirates' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
177  
-9789949 => ['Estonia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
178  
-9789950 => ['Palestine' => ['00' => '29', '300' => '849', '8500' => '9999'] ],
179  
-9789951 => ['Kosova' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
180  
-9789952 => ['Azerbaijan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
181  
-9789953 => ['Lebanon' => ['0' => '0', '10' => '39', '400' => '599', '60' => '89', '9000' => '9999'] ],
182  
-9789954 => ['Morocco' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
183  
-9789955 => ['Lithuania' => ['00' => '39', '400' => '929', '9300' => '9999'] ],
184  
-9789956 => ['Cameroon' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
185  
-9789957 => ['Jordan' => ['00' => '39', '400' => '699', '70' => '84', '8500' => '8799', '88' => '99'] ],
186  
-9789958 => ['Bosnia and Herzegovina' => ['0' => '0', '10' => '18', '1900' => '1999', '20' => '49', '500' => '899', '9000' => '9999'] ],
187  
-9789959 => ['Libya' => ['0' => '1', '20' => '79', '800' => '949', '9500' => '9999'] ],
188  
-9789960 => ['Saudi Arabia' => ['00' => '59', '600' => '899', '9000' => '9999'] ],
189  
-9789961 => ['Algeria' => ['0' => '2', '30' => '69', '700' => '949', '9500' => '9999'] ],
190  
-9789962 => ['Panama' => ['00' => '54', '5500' => '5599', '56' => '59', '600' => '849', '8500' => '9999'] ],
191  
-9789963 => ['Cyprus' => ['0' => '2', '30' => '54', '550' => '734', '7350' => '7499', '7500' => '9999'] ],
192  
-9789964 => ['Ghana' => ['0' => '6', '70' => '94', '950' => '999'] ],
193  
-9789965 => ['Kazakhstan' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
194  
-9789966 => ['Kenya' => ['000' => '149', '1500' => '1999', '20' => '69', '7000' => '7499', '750' => '959', '9600' => '9999'] ],
195  
-9789967 => ['Kyrgyz Republic' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
196  
-9789968 => ['Costa Rica' => ['00' => '49', '500' => '939', '9400' => '9999'] ],
197  
-9789970 => ['Uganda' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
198  
-9789971 => ['Singapore' => ['0' => '5', '60' => '89', '900' => '989', '9900' => '9999'] ],
199  
-9789972 => ['Peru' => ['00' => '09', '1' => '1', '200' => '249', '2500' => '2999', '30' => '59', '600' => '899', '9000' => '9999'] ],
200  
-9789973 => ['Tunisia' => ['00' => '05', '060' => '089', '0900' => '0999', '10' => '69', '700' => '969', '9700' => '9999'] ],
201  
-9789974 => ['Uruguay' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9499', '95' => '99'] ],
202  
-9789975 => ['Moldova' => ['0' => '0', '100' => '399', '4000' => '4499', '45' => '89', '900' => '949', '9500' => '9999'] ],
203  
-9789976 => ['Tanzania' => ['0' => '5', '60' => '89', '900' => '989', '9900' => '9999'] ],
204  
-9789977 => ['Costa Rica' => ['00' => '89', '900' => '989', '9900' => '9999'] ],
205  
-9789978 => ['Ecuador' => ['00' => '29', '300' => '399', '40' => '94', '950' => '989', '9900' => '9999'] ],
206  
-9789979 => ['Iceland' => ['0' => '4', '50' => '64', '650' => '659', '66' => '75', '760' => '899', '9000' => '9999'] ],
207  
-9789980 => ['Papua New Guinea' => ['0' => '3', '40' => '89', '900' => '989', '9900' => '9999'] ],
208  
-9789981 => ['Morocco' => ['00' => '09', '100' => '159', '1600' => '1999', '20' => '79', '800' => '949', '9500' => '9999'] ],
209  
-9789982 => ['Zambia' => ['00' => '79', '800' => '989', '9900' => '9999'] ],
210  
-9789983 => ['Gambia' => ['80' => '94', '950' => '989', '9900' => '9999'] ],
211  
-9789984 => ['Latvia' => ['00' => '49', '500' => '899', '9000' => '9999'] ],
212  
-9789985 => ['Estonia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
213  
-9789986 => ['Lithuania' => ['00' => '39', '400' => '899', '9000' => '9399', '940' => '969', '97' => '99'] ],
214  
-9789987 => ['Tanzania' => ['00' => '39', '400' => '879', '8800' => '9999'] ],
215  
-9789988 => ['Ghana' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9999'] ],
216  
-9789989 => ['Macedonia' => ['0' => '0', '100' => '199', '2000' => '2999', '30' => '59', '600' => '949', '9500' => '9999'] ],
217  
-97899901 => ['Bahrain' => ['00' => '49', '500' => '799', '80' => '99'] ],
218  
-97899902 => ['Gabon' => [] ],
219  
-97899903 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
220  
-97899904 => ['Netherlands Antilles and Aruba' => ['0' => '5', '60' => '89', '900' => '999'] ],
221  
-97899905 => ['Bolivia' => ['0' => '3', '40' => '79', '800' => '999'] ],
222  
-97899906 => ['Kuwait' => ['0' => '2', '30' => '59', '600' => '699', '70' => '89', '90' => '94', '950' => '999'] ],
223  
-97899908 => ['Malawi' => ['0' => '0', '10' => '89', '900' => '999'] ],
224  
-97899909 => ['Malta' => ['0' => '3', '40' => '94', '950' => '999'] ],
225  
-97899910 => ['Sierra Leone' => ['0' => '2', '30' => '89', '900' => '999'] ],
226  
-97899911 => ['Lesotho' => ['00' => '59', '600' => '999'] ],
227  
-97899912 => ['Botswana' => ['0' => '3', '400' => '599', '60' => '89', '900' => '999'] ],
228  
-97899913 => ['Andorra' => ['0' => '2', '30' => '35', '600' => '604'] ],
229  
-97899914 => ['Suriname' => ['0' => '4', '50' => '89', '900' => '999'] ],
230  
-97899915 => ['Maldives' => ['0' => '4', '50' => '79', '800' => '999'] ],
231  
-97899916 => ['Namibia' => ['0' => '2', '30' => '69', '700' => '999'] ],
232  
-97899917 => ['Brunei Darussalam' => ['0' => '2', '30' => '89', '900' => '999'] ],
233  
-97899918 => ['Faroe Islands' => ['0' => '3', '40' => '79', '800' => '999'] ],
234  
-97899919 => ['Benin' => ['0' => '2', '300' => '399', '40' => '69', '900' => '999'] ],
235  
-97899920 => ['Andorra' => ['0' => '4', '50' => '89', '900' => '999'] ],
236  
-97899921 => ['Qatar' => ['0' => '1', '20' => '69', '700' => '799', '8' => '8', '90' => '99'] ],
237  
-97899922 => ['Guatemala' => ['0' => '3', '40' => '69', '700' => '999'] ],
238  
-97899923 => ['El Salvador' => ['0' => '1', '20' => '79', '800' => '999'] ],
239  
-97899924 => ['Nicaragua' => ['0' => '1', '20' => '79', '800' => '999'] ],
240  
-97899925 => ['Paraguay' => ['0' => '3', '40' => '79', '800' => '999'] ],
241  
-97899926 => ['Honduras' => ['0' => '0', '10' => '59', '600' => '899', '90' => '99'] ],
242  
-97899927 => ['Albania' => ['0' => '2', '30' => '59', '600' => '999'] ],
243  
-97899928 => ['Georgia' => ['0' => '0', '10' => '79', '800' => '999'] ],
244  
-97899929 => ['Mongolia' => ['0' => '4', '50' => '79', '800' => '999'] ],
245  
-97899930 => ['Armenia' => ['0' => '4', '50' => '79', '800' => '999'] ],
246  
-97899931 => ['Seychelles' => ['0' => '4', '50' => '79', '800' => '999'] ],
247  
-97899932 => ['Malta' => ['0' => '0', '10' => '59', '600' => '699', '7' => '7', '80' => '99'] ],
248  
-97899933 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
249  
-97899934 => ['Dominican Republic' => ['0' => '1', '20' => '79', '800' => '999'] ],
250  
-97899935 => ['Haiti' => ['0' => '2', '30' => '59', '600' => '699', '7' => '8', '90' => '99'] ],
251  
-97899936 => ['Bhutan' => ['0' => '0', '10' => '59', '600' => '999'] ],
252  
-97899937 => ['Macau' => ['0' => '1', '20' => '59', '600' => '999'] ],
253  
-97899938 => ['Srpska, Republic of' => ['0' => '1', '20' => '59', '600' => '899', '90' => '99'] ],
254  
-97899939 => ['Guatemala' => ['0' => '5', '60' => '89', '900' => '999'] ],
255  
-97899940 => ['Georgia' => ['0' => '0', '10' => '69', '700' => '999'] ],
256  
-97899941 => ['Armenia' => ['0' => '2', '30' => '79', '800' => '999'] ],
257  
-97899942 => ['Sudan' => ['0' => '4', '50' => '79', '800' => '999'] ],
258  
-97899943 => ['Albania' => ['0' => '2', '30' => '59', '600' => '999'] ],
259  
-97899944 => ['Ethiopia' => ['0' => '4', '50' => '79', '800' => '999'] ],
260  
-97899945 => ['Namibia' => ['0' => '5', '60' => '89', '900' => '999'] ],
261  
-97899946 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
262  
-97899947 => ['Tajikistan' => ['0' => '2', '30' => '69', '700' => '999'] ],
263  
-97899948 => ['Eritrea' => ['0' => '4', '50' => '79', '800' => '999'] ],
264  
-97899949 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
265  
-97899950 => ['Cambodia' => ['0' => '4', '50' => '79', '800' => '999'] ],
266  
-97899951 => ['Congo' => [] ],
267  
-97899952 => ['Mali' => ['0' => '4', '50' => '79', '800' => '999'] ],
268  
-97899953 => ['Paraguay' => ['0' => '2', '30' => '79', '800' => '939', '94' => '99'] ],
269  
-97899954 => ['Bolivia' => ['0' => '2', '30' => '69', '700' => '999'] ],
270  
-97899955 => ['Srpska, Republic of' => ['0' => '1', '20' => '59', '600' => '799', '80' => '89', '90' => '99'] ],
271  
-97899956 => ['Albania' => ['00' => '59', '600' => '859', '86' => '99'] ],
272  
-97899957 => ['Malta' => ['0' => '1', '20' => '79', '800' => '999'] ],
273  
-97899958 => ['Bahrain' => ['0' => '4', '50' => '94', '950' => '999'] ],
274  
-97899959 => ['Luxembourg' => ['0' => '2', '30' => '59', '600' => '999'] ],
275  
-97899960 => ['Malawi' => ['0' => '0', '10' => '94', '950' => '999'] ],
276  
-97899961 => ['El Salvador' => ['0' => '3', '40' => '89', '900' => '999'] ],
277  
-97899962 => ['Mongolia' => ['0' => '4', '50' => '79', '800' => '999'] ],
278  
-97899963 => ['Cambodia' => ['00' => '49', '500' => '999'] ],
279  
-97899964 => ['Nicaragua' => ['0' => '1', '20' => '79', '800' => '999'] ],
280  
-97899965 => ['Macau' => ['0' => '3', '40' => '79', '800' => '999'] ],
281  
-97899966 => ['Kuwait' => ['0' => '2', '30' => '69', '700' => '799'] ],
282  
-97899967 => ['Paraguay' => ['0' => '1', '20' => '59', '600' => '899'] ],
283  
-97899968 => ['Botswana' => ['0' => '3', '400' => '599', '60' => '89', '900' => '999'] ],
284  
-97899969 => ['Oman' => ['0' => '4', '50' => '79', '800' => '999'] ],
285  
-97910 => ['France' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '97599', '976000' => '999999'] ],
  74
+0     => ['English language' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
  75
+1     => ['English language' => ['00' => '09', '100' => '399', '4000' => '5499', '55000' => '86979', '869800' => '998999', '9990000' => '9999999'] ],
  76
+2     => ['French language' => ['00' => '19', '200' => '349', '35000' => '39999', '400' => '699', '7000' => '8399', '84000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
  77
+3     => ['German language' => ['00' => '02', '030' => '033', '0340' => '0369', '03700' => '03999', '04' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9539999', '95400' => '96999', '9700000' => '9899999', '99000' => '99499', '99500' => '99999'] ],
  78
+4     => ['Japan' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '949999', '9500000' => '9999999'] ],
  79
+5     => ['Russian Federation and former USSR' => ['00' => '19', '200' => '420', '4210' => '4299', '430' => '430', '4310' => '4399', '440' => '440', '4410' => '4499', '450' => '699', '7000' => '8499', '85000' => '89999', '900000' => '909999', '91000' => '91999', '9200' => '9299', '93000' => '94999', '9500000' => '9500999', '9501' => '9799', '98000' => '98999', '9900000' => '9909999', '9910' => '9999'] ],
  80
+600   => ['Iran' => ['00' => '09', '100' => '499', '5000' => '8999', '90000' => '99999'] ],
  81
+601   => ['Kazakhstan' => ['00' => '19', '200' => '699', '7000' => '7999', '80000' => '84999', '85' => '99'] ],
  82
+602   => ['Indonesia' => ['00' => '19', '200' => '799', '8000' => '9499', '95000' => '99999'] ],
  83
+603   => ['Saudi Arabia' => ['00' => '04', '05' => '49', '500' => '799', '8000' => '8999', '90000' => '99999'] ],
  84
+604   => ['Vietnam' => ['0' => '4', '50' => '89', '900' => '979', '9800' => '9999'] ],
  85
+605   => ['Turkey' => ['01' => '09', '100' => '399', '4000' => '5999', '60000' => '89999', '90' => '99'] ],
  86
+606   => ['Romania' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9199', '92000' => '99999'] ],
  87
+607   => ['Mexico' => ['00' => '39', '400' => '749', '7500' => '9499', '95000' => '99999'] ],
  88
+608   => ['Macedonia' => ['0' => '0', '10' => '19', '200' => '449', '4500' => '6499', '65000' => '69999', '7' => '9'] ],
  89
+609   => ['Lithuania' => ['00' => '39', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
  90
+611   => ['Thailand' => [] ],
  91
+612   => ['Peru' => ['00' => '29', '300' => '399', '4000' => '4499', '45000' => '49999', '50' => '99'] ],
  92
+613   => ['Mauritius' => ['0' => '9'] ],
  93
+614   => ['Lebanon' => ['00' => '39', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
  94
+615   => ['Hungary' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '89999'] ],
  95
+616   => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '99999'] ],
  96
+617   => ['Ukraine' => ['00' => '49', '500' => '699', '7000' => '8999', '90000' => '99999'] ],
  97
+618   => ['Greece' => ['00' => '19', '200' => '499', '5000' => '7999', '80000' => '99999'] ],
  98
+619   => ['Bulgaria' => ['00' => '14', '150' => '699', '7000' => '8999', '90000' => '99999'] ],
  99
+7     => ['China, People\'s Republic' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '89999', '900000' => '999999'] ],
  100
+80    => ['Czech Republic and Slovakia' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
  101
+81    => ['India' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
  102
+82    => ['Norway' => ['00' => '19', '200' => '699', '7000' => '8999', '90000' => '98999', '990000' => '999999'] ],
  103
+83    => ['Poland' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '999999'] ],
  104
+84    => ['Spain' => ['00' => '13', '140' => '149', '15000' => '19999', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9199', '920000' => '923999', '92400' => '92999', '930000' => '949999', '95000' => '96999', '9700' => '9999'] ],
  105
+85    => ['Brazil' => ['00' => '19', '200' => '599', '60000' => '69999', '7000' => '8499', '85000' => '89999', '900000' => '979999', '98000' => '99999'] ],
  106
+86    => ['Serbia and Montenegro' => ['00' => '29', '300' => '599', '6000' => '7999', '80000' => '89999', '900000' => '999999'] ],
  107
+87    => ['Denmark' => ['00' => '29', '400' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
  108
+88    => ['Italy' => ['00' => '19', '200' => '599', '6000' => '8499', '85000' => '89999', '900000' => '909999', '910' => '929', '95000' => '99999'] ],
  109
+89    => ['Korea, Republic' => ['00' => '24', '250' => '549', '5500' => '8499', '85000' => '94999', '950000' => '969999', '97000' => '98999', '990' => '999'] ],
  110
+90    => ['Netherlands' => ['00' => '19', '200' => '499', '5000' => '6999', '70000' => '79999', '800000' => '849999', '8500' => '8999', '90' => '90', '910000' => '939999', '94' => '94', '950000' => '999999'] ],
  111
+91    => ['Sweden' => ['0' => '1', '20' => '49', '500' => '649', '7000' => '7999', '85000' => '94999', '970000' => '999999'] ],
  112
+92    => ['International NGO Publishers and EC Organizations' => ['0' => '5', '60' => '79', '800' => '899', '9000' => '9499', '95000' => '98999', '990000' => '999999'] ],
  113
+93    => ['India' => ['00' => '09', '100' => '499', '5000' => '7999', '80000' => '94999', '950000' => '999999'] ],
  114
+94    => ['Netherlands' => ['000' => '599', '6000' => '8999', '90000' => '99999'] ],
  115
+950   => ['Argentina' => ['00' => '49', '500' => '899', '9000' => '9899', '99000' => '99999'] ],
  116
+951   => ['Finland' => ['0' => '1', '20' => '54', '550' => '889', '8900' => '9499', '95000' => '99999'] ],
  117
+952   => ['Finland' => ['00' => '19', '200' => '499', '5000' => '5999', '60' => '65', '6600' => '6699', '67000' => '69999', '7000' => '7999', '80' => '94', '9500' => '9899', '99000' => '99999'] ],
  118
+953   => ['Croatia' => ['0' => '0', '10' => '14', '150' => '549', '55000' => '59999', '6000' => '9499', '95000' => '99999'] ],
  119
+954   => ['Bulgaria' => ['00' => '28', '2900' => '2999', '300' => '799', '8000' => '8999', '90000' => '92999', '9300' => '9999'] ],
  120
+955   => ['Sri Lanka' => ['0000' => '1999', '20' => '49', '50000' => '54999', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
  121
+956   => ['Chile' => ['00' => '19', '200' => '699', '7000' => '9999'] ],
  122
+957   => ['Taiwan' => ['00' => '02', '0300' => '0499', '05' => '19', '2000' => '2099', '21' => '27', '28000' => '30999', '31' => '43', '440' => '819', '8200' => '9699', '97000' => '99999'] ],
  123
+958   => ['Colombia' => ['00' => '56', '57000' => '59999', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
  124
+959   => ['Cuba' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '99999'] ],
  125
+960   => ['Greece' => ['00' => '19', '200' => '659', '6600' => '6899', '690' => '699', '7000' => '8499', '85000' => '92999', '93' => '93', '9400' => '9799', '98000' => '99999'] ],
  126
+961   => ['Slovenia' => ['00' => '19', '200' => '599', '6000' => '8999', '90000' => '94999'] ],
  127
+962   => ['Hong Kong, China' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '86999', '8700' => '8999', '900' => '999'] ],
  128
+963   => ['Hungary' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '9000' => '9999'] ],
  129
+964   => ['Iran' => ['00' => '14', '150' => '249', '2500' => '2999', '300' => '549', '5500' => '8999', '90000' => '96999', '970' => '989', '9900' => '9999'] ],
  130
+965   => ['Israel' => ['00' => '19', '200' => '599', '7000' => '7999', '90000' => '99999'] ],
  131
+966   => ['Ukraine' => ['00' => '14', '1500' => '1699', '170' => '199', '2000' => '2999', '300' => '699', '7000' => '8999', '90000' => '99999'] ],
  132
+967   => ['Malaysia' => ['00' => '00', '0100' => '0999', '10000' => '19999', '300' => '499', '5000' => '5999', '60' => '89', '900' => '989', '9900' => '9989', '99900' => '99999'] ],
  133
+968   => ['Mexico' => ['01' => '39', '400' => '499', '5000' => '7999', '800' => '899', '9000' => '9999'] ],
  134
+969   => ['Pakistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
  135
+970   => ['Mexico' => ['01' => '59', '600' => '899', '9000' => '9099', '91000' => '96999', '9700' => '9999'] ],
  136
+971   => ['Philippines' => ['000' => '015', '0160' => '0199', '02' => '02', '0300' => '0599', '06' => '09', '10' => '49', '500' => '849', '8500' => '9099', '91000' => '95999', '9600' => '9699', '97' => '98', '9900' => '9999'] ],
  137
+972   => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
  138
+973   => ['Romania' => ['0' => '0', '100' => '169', '1700' => '1999', '20' => '54', '550' => '759', '7600' => '8499', '85000' => '88999', '8900' => '9499', '95000' => '99999'] ],
  139
+974   => ['Thailand' => ['00' => '19', '200' => '699', '7000' => '8499', '85000' => '89999', '90000' => '94999', '9500' => '9999'] ],
  140
+975   => ['Turkey' => ['00000' => '01999', '02' => '24', '250' => '599', '6000' => '9199', '92000' => '98999', '990' => '999'] ],
  141
+976   => ['Caribbean Community' => ['0' => '3', '40' => '59', '600' => '799', '8000' => '9499', '95000' => '99999'] ],
  142
+977   => ['Egypt' => ['00' => '19', '200' => '499', '5000' => '6999', '700' => '999'] ],
  143
+978   => ['Nigeria' => ['000' => '199', '2000' => '2999', '30000' => '79999', '8000' => '8999', '900' => '999'] ],
  144
+979   => ['Indonesia' => ['000' => '099', '1000' => '1499', '15000' => '19999', '20' => '29', '3000' => '3999', '400' => '799', '8000' => '9499', '95000' => '99999'] ],
  145
+980   => ['Venezuela' => ['00' => '19', '200' => '599', '6000' => '9999'] ],
  146
+981   => ['Singapore' => ['00' => '11', '1200' => '1999', '200' => '289', '2900' => '9999'] ],
  147
+982   => ['South Pacific' => ['00' => '09', '100' => '699', '70' => '89', '9000' => '9799', '98000' => '99999'] ],
  148
+983   => ['Malaysia' => ['00' => '01', '020' => '199', '2000' => '3999', '40000' => '44999', '45' => '49', '50' => '79', '800' => '899', '9000' => '9899', '99000' => '99999'] ],
  149
+984   => ['Bangladesh' => ['00' => '39', '400' => '799', '8000' => '8999', '90000' => '99999'] ],
  150
+985   => ['Belarus' => ['00' => '39', '400' => '599', '6000' => '8999', '90000' => '99999'] ],
  151
+986   => ['Taiwan' => ['00' => '11', '120' => '559', '5600' => '7999', '80000' => '99999'] ],
  152
+987   => ['Argentina' => ['00' => '09', '1000' => '1999', '20000' => '29999', '30' => '49', '500' => '899', '9000' => '9499', '95000' => '99999'] ],
  153
+988   => ['Hong Kong, China' => ['00' => '14', '15000' => '16999', '17000' => '19999', '200' => '799', '8000' => '9699', '97000' => '99999'] ],
  154
+989   => ['Portugal' => ['0' => '1', '20' => '54', '550' => '799', '8000' => '9499', '95000' => '99999'] ],
  155
+9927  => ['Qatar' => ['00' => '09', '100' => '399', '4000' => '4999'] ],
  156
+9928  => ['Albania' => ['00' => '09', '100' => '399', '4000' => '4999'] ],
  157
+9929  => ['Guatemala' => ['0' => '3', '40' => '54', '550' => '799', '8000' => '9999'] ],
  158
+9930  => ['Costa Rica' => ['00' => '49', '500' => '939', '9400' => '9999'] ],
  159
+9931  => ['Algeria' => ['00' => '29', '300' => '899', '9000' => '9999'] ],
  160
+9932  => ['Lao People\'s Democratic Republic' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
  161
+9933  => ['Syria' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
  162
+9934  => ['Latvia' => ['0' => '0', '10' => '49', '500' => '799', '8000' => '9999'] ],
  163
+9935  => ['Iceland' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
  164
+9936  => ['Afghanistan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
  165
+9937  => ['Nepal' => ['0' => '2', '30' => '49', '500' => '799', '8000' => '9999'] ],
  166
+9938  => ['Tunisia' => ['00' => '79', '800' => '949', '9500' => '9999'] ],
  167
+9939  => ['Armenia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
  168
+9940  => ['Montenegro' => ['0' => '1', '20' => '49', '500' => '899', '9000' => '9999'] ],
  169
+9941  => ['Georgia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
  170
+9942  => ['Ecuador' => ['00' => '89', '900' => '984', '9850' => '9999'] ],
  171
+9943  => ['Uzbekistan' => ['00' => '29', '300' => '399', '4000' => '9999'] ],
  172
+9944  => ['Turkey' => ['0000' => '0999', '100' => '499', '5000' => '5999', '60' => '69', '700' => '799', '80' => '89', '900' => '999'] ],
  173
+9945  => ['Dominican Republic' => ['00' => '00', '010' => '079', '08' => '39', '400' => '569', '57' => '57', '580' => '849', '8500' => '9999'] ],
  174
+9946  => ['Korea, P.D.R.' => ['0' => '1', '20' => '39', '400' => '899', '9000' => '9999'] ],
  175
+9947  => ['Algeria' => ['0' => '1', '20' => '79', '800' => '999'] ],
  176
+9948  => ['United Arab Emirates' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
  177
+9949  => ['Estonia' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
  178
+9950  => ['Palestine' => ['00' => '29', '300' => '849', '8500' => '9999'] ],
  179
+9951  => ['Kosova' => ['00' => '39', '400' => '849', '8500' => '9999'] ],
  180
+9952  => ['Azerbaijan' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
  181
+9953  => ['Lebanon' => ['0' => '0', '10' => '39', '400' => '599', '60' => '89', '9000' => '9999'] ],
  182
+9954  => ['Morocco' => ['0' => '1', '20' => '39', '400' => '799', '8000' => '9999'] ],
  183
+9955  => ['Lithuania' => ['00' => '39', '400' => '929', '9300' => '9999'] ],
  184
+9956  => ['Cameroon' => ['0' => '0', '10' => '39', '400' => '899', '9000' => '9999'] ],
  185
+9957  => ['Jordan' => ['00' => '39', '400' => '699', '70' => '84', '8500' => '8799', '88' => '99'] ],
  186
+9958  => ['Bosnia and Herzegovina' => ['0' => '0', '10' => '18', '1900' => '1999', '20' => '49', '500' => '899', '9000' => '9999'] ],
  187
+9959  => ['Libya' => ['0' => '1', '20' => '79', '800' => '949', '9500' => '9999'] ],
  188
+9960  => ['Saudi Arabia' => ['00' => '59', '600' => '899', '9000' => '9999'] ],
  189
+9961  => ['Algeria' => ['0' => '2', '30' => '69', '700' => '949', '9500' => '9999'] ],
  190
+9962  => ['Panama' => ['00' => '54', '5500' => '5599', '56' => '59', '600' => '849', '8500' => '9999'] ],
  191
+9963  => ['Cyprus' => ['0' => '2', '30' => '54', '550' => '734', '7350' => '7499', '7500' => '9999'] ],
  192
+9964  => ['Ghana' => ['0' => '6', '70' => '94', '950' => '999'] ],
  193
+9965  => ['Kazakhstan' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
  194
+9966  => ['Kenya' => ['000' => '149', '1500' => '1999', '20' => '69', '7000' => '7499', '750' => '959', '9600' => '9999'] ],
  195
+9967  => ['Kyrgyz Republic' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
  196
+9968  => ['Costa Rica' => ['00' => '49', '500' => '939', '9400' => '9999'] ],
  197
+9970  => ['Uganda' => ['00' => '39', '400' => '899', '9000' => '9999'] ],
  198
+9971  => ['Singapore' => ['0' => '5', '60' => '89', '900' => '989', '9900' => '9999'] ],
  199
+9972  => ['Peru' => ['00' => '09', '1' => '1', '200' => '249', '2500' => '2999', '30' => '59', '600' => '899', '9000' => '9999'] ],
  200
+9973  => ['Tunisia' => ['00' => '05', '060' => '089', '0900' => '0999', '10' => '69', '700' => '969', '9700' => '9999'] ],
  201
+9974  => ['Uruguay' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9499', '95' => '99'] ],
  202
+9975  => ['Moldova' => ['0' => '0', '100' => '399', '4000' => '4499', '45' => '89', '900' => '949', '9500' => '9999'] ],
  203
+9976  => ['Tanzania' => ['0' => '5', '60' => '89', '900' => '989', '9900' => '9999'] ],
  204
+9977  => ['Costa Rica' => ['00' => '89', '900' => '989', '9900' => '9999'] ],
  205
+9978  => ['Ecuador' => ['00' => '29', '300' => '399', '40' => '94', '950' => '989', '9900' => '9999'] ],
  206
+9979  => ['Iceland' => ['0' => '4', '50' => '64', '650' => '659', '66' => '75', '760' => '899', '9000' => '9999'] ],
  207
+9980  => ['Papua New Guinea' => ['0' => '3', '40' => '89', '900' => '989', '9900' => '9999'] ],
  208
+9981  => ['Morocco' => ['00' => '09', '100' => '159', '1600' => '1999', '20' => '79', '800' => '949', '9500' => '9999'] ],
  209
+9982  => ['Zambia' => ['00' => '79', '800' => '989', '9900' => '9999'] ],
  210
+9983  => ['Gambia' => ['80' => '94', '950' => '989', '9900' => '9999'] ],
  211
+9984  => ['Latvia' => ['00' => '49', '500' => '899', '9000' => '9999'] ],
  212
+9985  => ['Estonia' => ['0' => '4', '50' => '79', '800' => '899', '9000' => '9999'] ],
  213
+9986  => ['Lithuania' => ['00' => '39', '400' => '899', '9000' => '9399', '940' => '969', '97' => '99'] ],
  214
+9987  => ['Tanzania' => ['00' => '39', '400' => '879', '8800' => '9999'] ],
  215
+9988  => ['Ghana' => ['0' => '2', '30' => '54', '550' => '749', '7500' => '9999'] ],
  216
+9989  => ['Macedonia' => ['0' => '0', '100' => '199', '2000' => '2999', '30' => '59', '600' => '949', '9500' => '9999'] ],
  217
+99901 => ['Bahrain' => ['00' => '49', '500' => '799', '80' => '99'] ],
  218
+99902 => ['Gabon' => [] ],
  219
+99903 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
  220
+99904 => ['Netherlands Antilles and Aruba' => ['0' => '5', '60' => '89', '900' => '999'] ],
  221
+99905 => ['Bolivia' => ['0' => '3', '40' => '79', '800' => '999'] ],
  222
+99906 => ['Kuwait' => ['0' => '2', '30' => '59', '600' => '699', '70' => '89', '90' => '94', '950' => '999'] ],
  223
+99908 => ['Malawi' => ['0' => '0', '10' => '89', '900' => '999'] ],
  224
+99909 => ['Malta' => ['0' => '3', '40' => '94', '950' => '999'] ],
  225
+99910 => ['Sierra Leone' => ['0' => '2', '30' => '89', '900' => '999'] ],
  226
+99911 => ['Lesotho' => ['00' => '59', '600' => '999'] ],
  227
+99912 => ['Botswana' => ['0' => '3', '400' => '599', '60' => '89', '900' => '999'] ],
  228
+99913 => ['Andorra' => ['0' => '2', '30' => '35', '600' => '604'] ],
  229
+99914 => ['Suriname' => ['0' => '4', '50' => '89', '900' => '999'] ],
  230
+99915 => ['Maldives' => ['0' => '4', '50' => '79', '800' => '999'] ],
  231
+99916 => ['Namibia' => ['0' => '2', '30' => '69', '700' => '999'] ],
  232
+99917 => ['Brunei Darussalam' => ['0' => '2', '30' => '89', '900' => '999'] ],
  233
+99918 => ['Faroe Islands' => ['0' => '3', '40' => '79', '800' => '999'] ],
  234
+99919 => ['Benin' => ['0' => '2', '300' => '399', '40' => '69', '900' => '999'] ],
  235
+99920 => ['Andorra' => ['0' => '4', '50' => '89', '900' => '999'] ],
  236
+99921 => ['Qatar' => ['0' => '1', '20' => '69', '700' => '799', '8' => '8', '90' => '99'] ],
  237
+99922 => ['Guatemala' => ['0' => '3', '40' => '69', '700' => '999'] ],
  238
+99923 => ['El Salvador' => ['0' => '1', '20' => '79', '800' => '999'] ],
  239
+99924 => ['Nicaragua' => ['0' => '1', '20' => '79', '800' => '999'] ],
  240
+99925 => ['Paraguay' => ['0' => '3', '40' => '79', '800' => '999'] ],
  241
+99926 => ['Honduras' => ['0' => '0', '10' => '59', '600' => '899', '90' => '99'] ],
  242
+99927 => ['Albania' => ['0' => '2', '30' => '59', '600' => '999'] ],
  243
+99928 => ['Georgia' => ['0' => '0', '10' => '79', '800' => '999'] ],
  244
+99929 => ['Mongolia' => ['0' => '4', '50' => '79', '800' => '999'] ],
  245
+99930 => ['Armenia' => ['0' => '4', '50' => '79', '800' => '999'] ],
  246
+99931 => ['Seychelles' => ['0' => '4', '50' => '79', '800' => '999'] ],
  247
+99932 => ['Malta' => ['0' => '0', '10' => '59', '600' => '699', '7' => '7', '80' => '99'] ],
  248
+99933 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
  249
+99934 => ['Dominican Republic' => ['0' => '1', '20' => '79', '800' => '999'] ],
  250
+99935 => ['Haiti' => ['0' => '2', '30' => '59', '600' => '699', '7' => '8', '90' => '99'] ],
  251
+99936 => ['Bhutan' => ['0' => '0', '10' => '59', '600' => '999'] ],
  252
+99937 => ['Macau' => ['0' => '1', '20' => '59', '600' => '999'] ],
  253
+99938 => ['Srpska, Republic of' => ['0' => '1', '20' => '59', '600' => '899', '90' => '99'] ],
  254
+99939 => ['Guatemala' => ['0' => '5', '60' => '89', '900' => '999'] ],
  255
+99940 => ['Georgia' => ['0' => '0', '10' => '69', '700' => '999'] ],
  256
+99941 => ['Armenia' => ['0' => '2', '30' => '79', '800' => '999'] ],
  257
+99942 => ['Sudan' => ['0' => '4', '50' => '79', '800' => '999'] ],
  258
+99943 => ['Albania' => ['0' => '2', '30' => '59', '600' => '999'] ],
  259
+99944 => ['Ethiopia' => ['0' => '4', '50' => '79', '800' => '999'] ],
  260
+99945 => ['Namibia' => ['0' => '5', '60' => '89', '900' => '999'] ],
  261
+99946 => ['Nepal' => ['0' => '2', '30' => '59', '600' => '999'] ],
  262
+99947 => ['Tajikistan' => ['0' => '2', '30' => '69', '700' => '999'] ],
  263
+99948 => ['Eritrea' => ['0' => '4', '50' => '79', '800' => '999'] ],
  264
+99949 => ['Mauritius' => ['0' => '1', '20' => '89', '900' => '999'] ],
  265
+99950 => ['Cambodia' => ['0' => '4', '50' => '79', '800' => '999'] ],
  266
+99951 => ['Congo' => [] ],
  267
+99952 => ['Mali' => ['0' => '4', '50' => '79', '800' => '999'] ],
  268
+99953 => ['Paraguay' => ['0' => '2', '30' => '79', '800' => '939', '94' => '99'] ],
  269
+99954 => ['Bolivia' => ['0' => '2', '30' => '69', '700' => '999'] ],
  270
+99955 => ['Srpska, Republic of' => ['0' => '1', '20' => '59', '600' => '799', '80' => '89', '90' => '99'] ],
  271
+99956 => ['Albania' => ['00' => '59', '600' => '859', '86' => '99'] ],
  272
+99957 => ['Malta' => ['0' => '1', '20' => '79', '800' => '999'] ],
  273
+99958 => ['Bahrain' => ['0' => '4', '50' => '94', '950' => '999'] ],
  274
+99959 => ['Luxembourg' => ['0' => '2', '30' => '59', '600' => '999'] ],
  275
+99960 => ['Malawi' => ['0' => '0', '10' => '94', '950' => '999'] ],
  276
+99961 => ['El Salvador' => ['0' => '3', '40' => '89', '900' => '999'] ],
  277
+99962 => ['Mongolia' => ['0' => '4', '50' => '79', '800' => '999'] ],
  278
+99963 => ['Cambodia' => ['00' => '49', '500' => '999'] ],
  279
+99964 => ['Nicaragua' => ['0' => '1', '20' => '79', '800' => '999'] ],
  280
+99965 => ['Macau' => ['0' => '3', '40' => '79', '800' => '999'] ],
  281
+99966 => ['Kuwait' => ['0' => '2', '30' => '69', '700' => '799'] ],
  282
+99967 => ['Paraguay' => ['0' => '1', '20' => '59', '600' => '899'] ],
  283
+99968 => ['Botswana' => ['0' => '3', '400' => '599', '60' => '89', '900' => '999'] ],
  284
+99969 => ['Oman' => ['0' => '4', '50' => '79', '800' => '999'] ],
286 285
 );
287 286
 
288 287
 # i cheat a little bit here.  i know that that the max length is
13  ISBN-Data/make_data.pl
@@ -46,12 +46,17 @@
46 46
 }
47 47
 
48 48
 print "%country_data = (\n";
49  
-foreach my $group ( sort keys %data ) {
50  
-    my $agency = $data{$group}->{agency};
  49
+foreach my $prefix ( sort keys %data ) {
  50
+
  51
+    # just ignore 979-, these might the ISMN anyway, but we loose some ISBN-13
  52
+    my $isbn10prefix = $prefix; 
  53
+    next unless $isbn10prefix =~ s/^978//;
  54
+
  55
+    my $agency = $data{$prefix}->{agency};
51 56
 	$agency =~ s/'/\\'/g;
52  
-    printf "%-5s => [%s => [", $group, qq|'$agency'|;
  57
+    printf "%-5s => [%s => [", $isbn10prefix, qq|'$agency'|;
53 58
     
54  
-    my @ranges = map { "'$_'" } @{$data{$group}->{ranges}};
  59
+    my @ranges = map { "'$_'" } @{$data{$prefix}->{ranges}};
55 60
     foreach my $i ( 0 .. $#ranges - 1 ) {
56 61
         print $ranges[$i], ( " => ", ", " )[$i % 2];
57 62
     }

0 notes on commit c509816

Please sign in to comment.
Something went wrong with that request. Please try again.