[trivial-utf-8-devel] error on sbcl
Anton Vodonosov
avodonosov at yandex.ru
Mon Jul 14 13:41:06 UTC 2008
Hello.
The following code when used with SBCL signals an error:
(defparameter *body*
#(110 115 58 104 116 116 112 58 47 47
115 112 101 99 115 46 111 112 101 110
105 100 46 110 101 116 47 97 117 116
104 47 50 46 48))
(trivial-utf-8:utf-8-bytes-to-string *body*)
Invalid byte at start of character: 0xB8
[Condition of type UTF-8-DECODING-ERROR]
Backtrace:
0: (TRIVIAL-UTF-8::UTF-8-STRING-LENGTH #<unavailable argument>)
1: (UTF-8-BYTES-TO-STRING #<unavailable argument>)
...
With CLISP all is ok, the string is decoded as
ns:http://specs.openid.net/auth/2.0
Best regards,
-Anton
More information about the trivial-utf-8-devel
mailing list