Changes between Initial Version and Version 1 of Ticket #4808
- Timestamp:
- Sep 8, 2012, 1:32:55 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #4808 – Description
initial v1 1 What does LDID/87 means? The page cited in the source code ( ogrshapelayer.cpp) says LDID/87 is "Current ANSI Codepage", but the Shapefile Driver treats it as ISO-8859-1.[[BR]]1 What does LDID/87 means? The page cited in the source code ([https://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/shape/ogrshapelayer.cpp#L184 ogrshapelayer.cpp]) says LDID/87 is "Current ANSI Codepage", but the Shapefile Driver treats it as ISO-8859-1.[[BR]] 2 2 http://www.autopark.ru/ASBProgrammerGuide/DBFSTRUC.HTM 3 3 … … 6 6 Encoding conversion ability of OGR is useful, but a problem arises because many applications using GDAL have not adapted to the imporovement of the ability. So attribute strings output from such applications are garbled. 7 7 8 Now, I would like to propose that Shapefile driver should interpret LDID/87 as no codepage specified. If it does so, without specifying ENCODING option, the driver doesn't co vert character encodings. Additionally it makes ability to handle a Shapefile that has "87" in the LDID field and attribute strings in the encoding other than ISO-8859-1, without any problem.8 Now, I would like to propose that Shapefile driver should interpret LDID/87 as no codepage specified. If it does so, without specifying ENCODING option, the driver doesn't convert character encodings. Additionally it makes ability to handle a Shapefile that has "87" in the LDID field and attribute strings in the encoding other than ISO-8859-1, without any problem. 9 9 10 10 {{{