Fixes #1733 GeoIP encoding problem