id summary reporter owner description type status priority milestone component version severity resolution keywords cc 4650 TestCapability OLCStringsAsUTF8 error in Shape driver bishop warmerdam "There is error in OGRShapeLayer::TestCapability - OLCStringsAsUTF8 returns true anyway if shape driver could not recode strings, e.g. if GDAL build without iconv. The GDAL compiled without iconv supports recoding of strings to UTF8 from UTF-8, UTF-16, UCS-2, UCS-4, ASCII, ISO-8859-1. If shapefile have any other encodings (e.g. WIN1251) GDAL sets OLCStringsAsUTF8 as true, but cannot recode from WIN1251 to UTF8. Then GDAL assumes the encoding as ISO-8859-1 and processes wrong recode from ISO-8859-1 to UTF8. I get such GDAL error message: Shape: DBF Codepage = LDID/87 for D:\work\testgeodata\shp\adm_rai.shp Shape: Treating as encoding 'ISO-8859-1'. " defect closed normal 1.9.2 OGR_SF normal fixed OGRShapeLayer, OLCStringsAsUTF8, UTF8,