On Sat, 2008-08-09 at 20:05 +0000, Derick Eddington wrote: > $ ikarus -- λ > Ikarus Scheme version 0.0.3+ (revision 1579, build 2008-08-09) > Copyright (c) 2006-2008 Abdulaziz Ghuloum > > > (command-line) ;; goes berserk > Unhandled exception: > Condition components: > 1. &interrupted > 2. &message: "received an interrupt signal" > $ > > Note the REPL did not reset, the ikarus process terminated. > > I don't yet know why it's going berserk. It's going berserk because integer_to_char(s[i]) returns a word with the high bits set because s[i] is a char and integer_to_char casts it to int, so for λ it's doing: ce => ffffce0f bb => ffffbb0f When I make this change, it does not go berserk (but still transcodes as Latin-1): === modified file 'src/ikarus-main.c' --- src/ikarus-main.c 2008-08-09 12:47:44 +0000 +++ src/ikarus-main.c 2008-08-10 01:46:33 +0000 @@ -76,7 +76,7 @@ { int i; for(i=0; i