If ignoreShapeEncoding is false, clear SHAPE_ENCODING after creating shapefile with SHAPE_ENCODING="" (fix #8440)

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