[Ecls-list] UTF-8 sequence decoding errors [Was: Upcoming changes]

Matthew Mondor mm_lists at pulsar-zone.net
Sat Feb 12 11:27:50 UTC 2011


On Sat, 12 Feb 2011 01:34:47 -0500
Matthew Mondor <mm_lists at pulsar-zone.net> wrote:

> - Although I did see a USE-VALUE restart in the debugger, I could not
>   find the corresponding restart function to execute from a HANDLER-BIND

For that one, I used a handler using (mapcar #'restart-name
(compute-restarts e)) and did find USE-VALUE, and I can indeed call it
with a value.

> - There appears to be missing a sync restart allowing to continue
>   reading without having to supply a use-value.  For instance the
>   reader function might want to add itself every illegal octets which
>   are > 127 to its input, treating them like LATIN-1 or mapping the
>   octets to a special unicode range, and there could be more than one
>   octet in the sequence, in which case use-value cannot be used (unless
>   it can accept multiple characters).  SBCL uses the
>   sb-int:attempt-resync restart for that

-- 
Matt




More information about the ecl-devel mailing list