[gdal-dev] Motion: To adopt RFC 23: Unicode Support in OGR

Frank Warmerdam warmerdam at pobox.com
Fri Apr 25 15:23:23 EDT 2008


Folks,

I have made a small amendment to the RFC, adding a new layer level
capability test for whether the string attributes are clearly in UTF-8.

"""
OLCStringsAsUTF8 Capability Flag

Some drivers (ie. CSV) can effectively not know the encoding of their inputs. 
Therefore, it isn't always practical to turn things into UTF-8 in a guaranteed 
way. So, the new layer level capability called "StringsAsUTF8" represented with 
the macro "OLCStringsAsUTF8" will be testable at the layer level with 
TestCapability?(). Drivers which are certain to return string attributes as 
UTF-8 should return TRUE, while drivers that do not know the encoding they 
return should return FALSE. Any driver which knows it's encoding should convert 
to UTF-8.
"""

I'll extend the voting till Tuesday to account for this mid-vote edit though
I don't think it should be very contentious.

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    | President OSGeo, http://osgeo.org



More information about the gdal-dev mailing list