1.0.32.17: make the utf-8 external format more robust
commit7cf58295cc5e1ca50651c4b93023ae8681fed8fb
authorChristophe Rhodes <csr21@cantab.net>
Wed, 11 Nov 2009 13:52:19 +0000 (11 13:52 +0000)
committerChristophe Rhodes <csr21@cantab.net>
Wed, 11 Nov 2009 13:52:19 +0000 (11 13:52 +0000)
treec938396d8f2c8f3cedf29542f9097a0e30c9b1cd
parent75476d1d19ac3d7239c8963a498c447a8368433d
1.0.32.17: make the utf-8 external format more robust

Detect all malformed sequences, including attempts to decode or encode
Unicode surrogate codepoints (disallowed by the Unicode definition of
UTF-8).  Some error tests change behaviour, and some (unexported)
condition classes are not triggered under the same circumstances any
more.

Also, handle null-termination on a successful conversion of an empty range of
a nil array.
NEWS
src/code/external-formats/enc-basic.lisp
src/code/octets.lisp
tests/octets.pure.lisp
version.lisp-expr