
14 Nov
2006
14 Nov
'06
6:34 p.m.
Hi! 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. 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. Regards, -Anton