1544 ogr2ogr2 crashes because of encoding

@Kartones CR this, please.