apply SHAPE_ENCODING after creating shapefile with SHAPE_ENCODING=""

This fixes http://hub.qgis.org/issues/8440 and also applies SHAPE_ENCODING to shape layer opening