I have had a lot of problems with character sets.  Unfortunately I don't<br>have a good solution; a lot of times it depended on setting the <br>locale correctly in Debian.  I recommend you ask on the SBCL<br>mailing list or on #lisp if you use IRC.   It's also possible that the
<br>error relates to the foreign function interface, so you may want<br>to ask on the UFFI mailing list as an alternative, or in addition.<br><br>Liam<br><br><div><span class="gmail_quote">On 3/9/07, <b class="gmail_sendername">
Hans Halvorson</b> <<a href="mailto:hhalvors@princeton.edu">hhalvors@princeton.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am trying to use cl-curl with sbcl 1.0 (unicode), and I get a<br>c-string decoding error (please see the backtrace below).<br><br>A web search revealed that this problem with sbcl has occurred in some<br>other contexts (
e.g. with the stump window manager), but I did not<br>find any explanation of the underlying problem, or any resolution.<br><br>Thanks,<br>Hans<br><br>******************************<br><br><br>c-string decoding error (:external-format :UTF-8):
<br>  the octet sequence 1 cannot be decoded.<br>   [Condition of type SB-INT:C-STRING-DECODING-ERROR]<br><br>Backtrace:<br>  0: (SB-INT:C-STRING-DECODING-ERROR :UTF-8 1)<br>  1: (SB-IMPL::READ-FROM-C-STRING/UTF-8<br>      #.(SB-SYS:INT-SAP #X080ACBB8)
<br>      CHARACTER)<br>  2: (RETURN-STRING-INT<br>      #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X08082F00 :TYPE (*<br>                                                              (SB-ALIEN:SIGNED<br>                                                               8))>)
<br>  3: (RETURN-STRING<br>      #<SB-ALIEN-INTERNALS:ALIEN-VALUE :SAP #X08082F00 :TYPE (*<br>                                                              (SB-ALIEN:SIGNED<br>                                                               8))>)
<br>  4: (NIL)<br>  5: (SB-INT:SIMPLE-EVAL-IN-LEXENV<br>      (WITH-CONNECTION-RETURNING-STRING (:COOKIES NIL)<br>                                        (SET-OPTION :URL<br>                                                    "
<a href="http://www.foobar.com">http://www.foobar.com</a>")<br>                                        (SET-OPTION :POSTFIELDS<br>                                                    "foo-bar")<br>                                        (PERFORM))
<br>      #<NULL-LEXENV>)<br><br>_______________________________________________<br>cl-curl-devel mailing list<br><a href="mailto:cl-curl-devel@common-lisp.net">cl-curl-devel@common-lisp.net</a><br><a href="http://common-lisp.net/cgi-bin/mailman/listinfo/cl-curl-devel">
http://common-lisp.net/cgi-bin/mailman/listinfo/cl-curl-devel</a><br></blockquote></div><br>