Fix for issue153

Shapefile encodings are so much fun.