Just more than a mental note for myself.
If playing with Lispbuilder-sdl you caught the error:
(SB-INT:C-STRING-DECODING-ERROR :UTF-8 1)
The solution is to locate the stdinc.lisp file under
And change all the occurrences of “putenv” into “setenv”.
Seems ok now. Tested under SBCL 1.0.54