When I make the request like this:<br>(drakma:http-request "<a href="http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html">http://www.w3.org/2001/06/utf-8-test/UTF-8-demo.html</a>")<br><br>It results in error:<br>
<br>"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\"<br> \"<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\
</a>"><br><html xmlns=\"<a href="http://www.w3.org/1999/xhtml\">http://www.w3.org/1999/xhtml\</a>"><br> <head><title>UTF-8 test file</title></head><br> <body><br>
<p>Original by Markus Kuhn, adapted for HTML by Martin Dürst.</p><br><pre><br>UTF-8 encoded sample plain-text file<br><br>debugger invoked on a SB-INT:STREAM-ENCODING-ERROR in thread #<THREAD "initial t
<br>hread" {BBDF5A9}>:<br> encoding error on stream #<SB-SYS:FD-STREAM for "standard output" {BBDF859}><br> (:EXTERNAL-FORMAT :ASCII):<br> the character with code 8254 cannot be encoded.<br><br>
Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.<br><br>restarts (invokable by number or by possibly-abbreviated name):<br> 0: [OUTPUT-NOTHING] Skip output of this character.<br> 1: [ABORT ] Exit debugger, returning to top level.
<br><br>(SB-INT:STREAM-ENCODING-ERROR<br> #<SB-SYS:FD-STREAM for "standard output" {BBDF859}><br> 8254)<br>0]<br><br><br>Is it some parameter that I forgot to call http-request with to make it aware of utf-8 encoding?
<br><br>Thank you,<br>Andrew<br>