Skip to content

Commit 53a923d

Browse files
authored
Merge pull request #420 from JamesParrott. Make dbf Field round trippable and able to user field names + test it.
Make dbf Field round trippable and able to better preserve user field names + test it.
2 parents f9f6a0c + 2772856 commit 53a923d

3 files changed

Lines changed: 195 additions & 65 deletions

File tree

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1347,7 +1347,11 @@ applies to both reading and writing.
13471347
True
13481348
>>> r.close()
13491349

1350-
1350+
Valid values for encodingErrors are those supported by both `bytes.decode` and `str.encode` in the Python
1351+
version being used, e.g. 'strict', 'ignore' or 'replace'
1352+
in [CPython 3.9 - 3.14](https://docs.python.org/3/library/stdtypes.html#bytes.decode)
1353+
('xmlcharrefreplace' and 'backslashreplace' are only supported by
1354+
[`str.encode`](https://docs.python.org/3/library/stdtypes.html#str.encode)).
13511355

13521356
## Reading Large Shapefiles
13531357

0 commit comments

Comments
 (0)