For the record,

In the Perl bindings all strings going to GDAL internals are upgraded from Perl internal format to utf-8 and all strings coming from GDAL internals are marked for Perl to be utf-8.

This is done in the Perl typemaps after a change last November (#23405).

I don't see a similar problem in the Perl bindings as below. However utf-8 strings are handled in Python differently from Perl.

Ari

On 04/11/2012 03:36 PM, Roy Hyunjin Han wrote:
Hi Andrey,

Do you know what is the status of native unicode/utf-8 support in GDAL?
http://trac.osgeo.org/gdal/wiki/rfc5_unicode

RHH




Currently, using the Python SWIG bindings for GDAL 1.9.0,

    feature.SetField(0, u'xxx')

raises the following exception

    NotImplementedError: Wrong number of arguments for overloaded
function 'Feature_SetField'
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to