diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2014-05-27 07:22:46 +0100 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2014-05-27 23:31:31 +0100 |
commit | f03bff152c44203ece2084aac03f14ac55a33b5c (patch) | |
tree | 5b907d336d523d9184a8c3ca8ac48b5a4fe6d8ec /CHANGES.current | |
parent | b531956467f7e0e064cd9928c044be64fa0a3a0a (diff) | |
download | swig-f03bff152c44203ece2084aac03f14ac55a33b5c.tar.gz |
Python 3 byte string output: use errors="surrogateescape" change note
Diffstat (limited to 'CHANGES.current')
-rw-r--r-- | CHANGES.current | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/CHANGES.current b/CHANGES.current index e73a91c3f..399a05415 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,15 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.1 (in progress) =========================== +2014-05-25: hfalcic + [Python] Python 3 byte string output: use errors="surrogateescape" + if available on the version of Python that's in use. This allows + obtaining the original byte string (and potentially trying a fallback + encoding) if the bytes can't be decoded as UTF-8. + + Previously, a UnicodeDecodeError would be raised with no way to treat + the data as bytes or try another codec. + 2014-05-18: vkalinin Bug #175 - Restore %extend to work for unnamed nested structures by using a C symbol comprising the outer structure name and unnamed variable instance name. |