You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# city = city.force_encoding('iso-8859-1').encode('utf-8') if city.respond_to?(:force_encoding)city.force_encoding(Encoding::UTF_8)# add this just for [logstash geoip filter ](https://github.com/logstash-plugins/logstash-filter-geoip/blob/master/lib/logstash/filters/geoip.rb) line 192#output:Fuzhou福州
Test on jruby 1.9 in logstash and ruby 2.0.0
The text was updated successfully, but these errors were encountered:
I converts MaxMind CSV files to .dat files use
https://github.com/mteodoro/mmutils/blob/master/csv2dat.py
And translate some city name to local language(Fuzhou=> Fuzhou福州)before convert.
I modify some code in "geoip.rb"
line 781
Test on jruby 1.9 in logstash and ruby 2.0.0
The text was updated successfully, but these errors were encountered: