Bug report showing a Unicode error in OGR and Python 3.
  --Jan 15 2014.  Nelson Minar <nelson@monkey.org>

$ python3 ogr-test.py
Traceback (most recent call last):
  File "ogr-test.py", line 17, in <module>
    field = in_feature.GetField(i)
  File "/usr/lib/python3/dist-packages/osgeo/ogr.py", line 3033, in GetField
    return self.GetFieldAsString(fld_index)
  File "/usr/lib/python3/dist-packages/osgeo/ogr.py", line 2362, in GetFieldAsString
    return _ogr.Feature_GetFieldAsString(self, *args)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 3: invalid continuation byte


The source file CrabAdr.shp appears to be in ISO-8859-1. The test program
simply iterates through the features calling GetField(). When it hits a field
containing the byte 0xe9, the decoder complains that it's not valid UTF-8.

The same data file and code works in Python 2. The returned type is
a byte string containing the byte b'0xe9'.

The same code with a UTF-8 shapefile works in both Python 2 and 3.

Python 3.4.0 on Ubuntu 14.04 (US system, UTF-8 terminal).
python3 gdal 1.11.0+dfsg-1~exp2~trusty2
osgeo.__version__ == 1.11.0


CrabAdr.shp comes from:
  https://downloadagiv.blob.core.windows.net/crab-adressenlijst/Shapefile/CRAB_Adressenlijst.zip
  https://download.agiv.be/Producten/Detail?id=447
