timwaters / mapwarper

free open source public map georeferencer, georectifier and warper
http://mapwarper.net
MIT License
193 stars 79 forks source link

non utf-8 encoded comment in jpeg breaks upload #193

Closed timwaters closed 2 years ago

timwaters commented 3 years ago

an error (invalid byte sequence in UTF-8) occurs in raster_bounds_count.rb when trying to parse the output of gdalinfo.

e..g

 COMMENT=File written by Adobe Photoshop\xA8 5.0\n

for this image Nottawasaga1881_with_comment