12 Apr
2011
12 Apr
'11
10:23 p.m.
Hello again, On Wed, Apr 6, 2011 at 11:07 AM, Rob Blackwell <rob.blackwell@aws.net> wrote:
If I use (babel:octets-to-string foo) on a byte array with BOM markers, then my SBCL Lisp image dies.
I've tried this out and it works for me: CL-USER> (babel:octets-to-string (babel-tests::ub8v 239 187 191 102 111 111)) "foo" CL-USER> (length *) 4 I'm guessing you're using SLIME and you haven't set your slime-net-coding-system to 'utf-8-unix or something similar. Have a look at the *inferior-lisp* when your Lisp crashes to see if that's the case. HTH, -- Luís Oliveira http://r42.eu/~luis/