I have a shape file in QGIS (2.16.1 and master 0a07fee) with one polygon and 
around 20 attributes. According to the TableManager plugin two of these fields 
have the type "String(1)" and outside QGIS I can tell that their value is HEX 
20 (a space character).

After changing the geometry a bit I save the layer. The result is that also the 
attributes are changed (the DBF file). There are differences in the header, 
where the "change date" has been updated [1]. But also the two fields of type 
"String(1)" are updated:

    HEX 20 (the space) is changed to HEX 3F (a question mark).

In front of one of the two fields 10 characters are changed from HEX 20 to HEX 
2A (a *).

My initial thoughts are encoding, badly defined shape file or finally a bug in 
the way QGIS handles the shapefile.


Can anyone give me a hint as to why this is happening?


Regards, Casper


[1]: http://www.dbase.com/Knowledgebase/INT/db7_file_fmt.htm
_______________________________________________
Qgis-developer mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to