[flexi-streams-devel] New version 0.8.0 (Was: recovering from flexi-stream-encoding-error)
Edi Weitz
edi at agharta.de
Tue Nov 14 20:56:28 UTC 2006
On Tue, 14 Nov 2006 20:34:07 +0200, "Anton Vodonosov" <vodonosov at mail.ru> wrote:
> It sometimes necessary to recover from flexi-stream-encoding-error.
>
> For example, it's inconvenient now to use drakma for sites with
> broken utf encoding (like this livejournal page
> http://hzweiblum.livejournal.com/)
>
> I can see this page in my browser (with ? instead of badly encoded
> chars), but (http-request "http://hzweiblum.livejournal.com/") fails
> signaling flexi-stream-encoding-error.
Hmm, works for me.
> It will be good to have possibility to supply a character that will
> be used as a substitution for invalid byte sequence.
>
> use-value restart is added to the get-char-code function in the
> attached patch.
I've added your code to the new release. See also the new special
variable *SUBSTITUTION-CHAR*.
Thanks,
Edi.
More information about the Flexi-streams-devel
mailing list