Running guile (in interactive mode or with script) gives this error on my ubuntu 12.04 :-
guile test.scm
Backtrace:
In ice-9/boot-9.scm:
149: 2 [catch #t #<catch-closure 9ec72f0> ...]
157: 1 [#<procedure 9e8f8c0 ()>]
In unknown file:
?: 0 [catch-closure]
ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(116 101 115 116 46 115 99 109))'.
Any inputs on how to debug this will also help.
Short answer: you must use
en_IN.UTF-8
as your encoding if you want to use Indian English. Don't forget to runsudo locale-gen en_IN
if you haven't already.Long answer: I finally got around to installing Ubuntu 12.04.3, so I could test this out. When I tested it, it seems that the locale must include the encoding, otherwise it fails: