9a2bceed1a
The first try to solve the Python 3 GIS encoding/decoding issue was too naive. Using decode() on all read strings is bound to fail as soon as a non-ascii string is concerned. This patch is a little more clever, leaving ascii decoding when plain ascii strings are expected, and allowing to specify a custom encoding in DataSource hierarchy. |
||
---|---|---|
.. | ||
ch-city.dbf | ||
ch-city.prj | ||
ch-city.shp | ||
ch-city.shx |