On Fri, 09 Oct 2009 09:54:38 +0000 Sebastian Tennant sebyte@smolny.plus.com wrote:
Unfortunately, I can't pin the problem I'm having down. In my last post (which began "Stop press!") I thought it must be a SWANK/SLIME issue, but I experience the same weird behaviour if I run ccl from a shell.
In short, immediately after load'ing my handler via my init file at startup, any non-ascii text in my handler is garbled in the browser. If I then copy and paste the handler into the REPL, i.e., re-evaluate it, the non-ascii text is displayed correctly. What on earth could be causing this?
This sounds suspiciously like a problem we were having where the locale wasn't properly set, resulting in SB-IMPL::*DEFAULT-EXTERNAL-FORMAT* having a value that wasn't :UTF8.