[gdal-dev] GDAL/OGR C# wrapper and UTF8

Frank Warmerdam warmerdam at pobox.com
Wed Apr 3 14:07:54 PDT 2013


On Wed, Apr 3, 2013 at 12:54 PM, Tamas Szekeres <szekerest at gmail.com> wrote:

> Frank,
>
> We seem to consider only a subset of the parameters (filenames and fileds)
> that should be utf8 encoded. But it seems that's not enough. For example
> treating fields as utf8 would also require to modify SetAttibuteFilter to
> provide match with the same value returned from GetFieldAsString. In this
> regard that would be more sufficient to treat all strings as being utf8 in
> GDAL. With regards to C# that would mean to convert all strings between
> Unicode and UTF8.
>
>
Tamas,

I agree that the argument to SetAttributeFilter() should also be considered
UTF8.

I can't, off hand, think of any strings that should not be considered to be
UTF8.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Software Developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130403/37e3b89d/attachment.html>


More information about the gdal-dev mailing list