Added encoding settings and support to php, refs: geomoose/geomoose#37