geonames_api 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/geonames_api/country.rb +1 -1
- data/lib/geonames_api/version.rb +1 -1
- metadata +1 -1
data/lib/geonames_api/country.rb
CHANGED
@@ -20,7 +20,7 @@ module GeoNamesAPI
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def postal_code_csv
|
23
|
-
CSV.parse(postal_code_export, headers: true, col_sep: "\t", header_converters: :symbol)
|
23
|
+
CSV.parse(postal_code_export, headers: true, col_sep: "\t", header_converters: :symbol, encoding: "ISO8859-1")
|
24
24
|
end
|
25
25
|
|
26
26
|
def postal_code_export_url
|
data/lib/geonames_api/version.rb
CHANGED